예제 #1
0
 def setUpClass(cls):
     print "setUpClass"
     h2o.build_cloud_with_json()
     # normally this shouldn't be necessary?
     h2o.stabilize_cloud(h2o.nodes[0],
                         node_count=len(h2o.nodes),
                         timeoutSecs=90)
예제 #2
0
 def setUpClass(cls):
     print "setUpClass"
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     h2o.build_cloud_with_json()
     # if you're fast with a test and cloud building, you may need to wait for cloud to stabilize
     # normally this is baked into build_cloud, but let's leave it here for now
     h2o.stabilize_cloud(h2o.nodes[0], node_count=len(h2o.nodes), timeoutSecs=90)
     # this ?should? work although not guaranteed all will agree on the cloud size
     # unless we do the conservative stabilize above
     h2o.verify_cloud_size()
예제 #3
0
 def setUpClass(cls):
     print "setUpClass"
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     h2o.build_cloud_with_json()
     # if you're fast with a test and cloud building, you may need to wait for cloud to stabilize
     # normally this is baked into build_cloud, but let's leave it here for now
     h2o.stabilize_cloud(h2o.nodes[0],
                         node_count=len(h2o.nodes),
                         timeoutSecs=90)
     # this ?should? work although not guaranteed all will agree on the cloud size
     # unless we do the conservative stabilize above
     h2o.verify_cloud_size()
예제 #4
0
 def setUpClass(cls):
     print "setUpClass"
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     # do a hack so we can run release tests with a -cj arg. so we don't have to build the cloud separately
     # those tests will always want to run non-local (big machien) so detecting -cj is fine
     if h2o.config_json:
         h2o_hosts.build_cloud_with_hosts()
     else:
         # this is the normal thing for release tests (separate cloud was built. clone it)
         h2o.build_cloud_with_json()
     # if you're fast with a test and cloud building, you may need to wait for cloud to stabilize
     # normally this is baked into build_cloud, but let's leave it here for now
     h2o.stabilize_cloud(h2o.nodes[0], h2o.nodes, timeoutSecs=90)
     # this ?should? work although not guaranteed all will agree on the cloud size
     # unless we do the conservative stabilize above
     h2o.verify_cloud_size()
예제 #5
0
파일: h2o_common.py 프로젝트: BersaKAIN/h2o
 def setUpClass(cls):
     print "setUpClass"
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     # do a hack so we can run release tests with a -cj arg. so we don't have to build the cloud separately
     # those tests will always want to run non-local (big machien) so detecting -cj is fine
     if h2o.config_json:
         h2o_hosts.build_cloud_with_hosts()
     else:
         # this is the normal thing for release tests (separate cloud was built. clone it)
         h2o.build_cloud_with_json()
     # if you're fast with a test and cloud building, you may need to wait for cloud to stabilize
     # normally this is baked into build_cloud, but let's leave it here for now
     h2o.stabilize_cloud(h2o.nodes[0], node_count=len(h2o.nodes), timeoutSecs=90)
     # this ?should? work although not guaranteed all will agree on the cloud size
     # unless we do the conservative stabilize above
     h2o.verify_cloud_size()
예제 #6
0
 def setUpClass(cls):
     print "setUpClass"
     h2o.build_cloud_with_json()
     # normally this shouldn't be necessary?
     h2o.stabilize_cloud(h2o.nodes[0], node_count=len(h2o.nodes), timeoutSecs=90)
예제 #7
0
 def setUpClass(cls):
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     h2o.build_cloud_with_json()
예제 #8
0
 def setUpClass(cls):
     # standard method for being able to reproduce the random.* seed
     h2o.setup_random_seed()
     h2o.build_cloud_with_json()