示例#1
0
port = args.port

h2o.H2O.verboseprint("host: " + str(host))
h2o.H2O.verboseprint("port" + str(port))

pp = pprint.PrettyPrinter(indent=4)  # pretty printer for debugging

################
# The test body:
################

a_node = h2o.H2O(host, port)
h2o.H2O.verboseprint("connected to: ", str(host), ':', str(port))

import test_metadata
test_metadata.test(a_node, pp)

import test_html
test_html.test(a_node, pp)

import test_cluster_sanity
test_cluster_sanity.test(a_node, pp, algos)

# Clean up old objects from the DKV, in case the cluster has been doing other things:
if h2o_test_utils.isVerbose(): print('Cleaning up old stuff. . .')
h2o_test_utils.cleanup(a_node)

import test_and_import_frames
datasets = test_and_import_frames.load_and_test(a_node, pp)

import test_models
示例#2
0
h2o.H2O.verboseprint("host: " + str(host))
h2o.H2O.verboseprint("port" + str(port))

pp = pprint.PrettyPrinter(indent=4)  # pretty printer for debugging

################
# The test body:
################

a_node = h2o.H2O(host, port)
h2o.H2O.verboseprint("connected to: ", str(host), ':', str(port))


import test_metadata
test_metadata.test(a_node, pp)

import test_html
test_html.test(a_node, pp)

import test_cluster_sanity
test_cluster_sanity.test(a_node, pp, algos)

# Clean up old objects from the DKV, in case the cluster has been doing other things:
if h2o_test_utils.isVerbose(): print('Cleaning up old stuff. . .')
h2o_test_utils.cleanup(a_node)

import test_and_import_frames
datasets = test_and_import_frames.load_and_test(a_node, pp)

import test_models