Skip to content

Commit

Permalink
do 1B element rep_len and runif
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Normoyle committed May 14, 2014
1 parent ac0dd66 commit 67a420a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions py/testdir_single_jvm_fvec/test_exec2_rep_len.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def setUpClass(cls):
SEED = h2o.setup_random_seed()
localhost = h2o.decide_if_localhost()
if (localhost):
h2o.build_cloud(1)
h2o.build_cloud(1, java_heap_GB=12)
else:
h2o_hosts.build_cloud_with_hosts(1)
h2o_hosts.build_cloud_with_hosts(1, java_heap_GB=12)

@classmethod
def tearDownClass(cls):
Expand All @@ -24,18 +24,14 @@ def test_exec2_rep_len(self):

for i in range(5):
# have to make sure they're created as keys for reuse between execs
execExpr = "a=rep_len(0,10)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
execExpr = "a=rep_len(0,1000000000); b = runif(a,-1)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=180)
execExpr = "b=a; d=a; f=a; g=a;"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
execExpr = "j <- c(a, b)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
execExpr = "j <- c(b, d)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
execExpr = "j <- c(a, b, d)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
h2e.exec_expr(execExpr=execExpr, timeoutSecs=180)
execExpr = "h <- cbind(a ,b)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=180)
execExpr = "h <- cbind(a ,b, d)"
h2e.exec_expr(execExpr=execExpr, timeoutSecs=30)
h2e.exec_expr(execExpr=execExpr, timeoutSecs=180)

h2o.check_sandbox_for_errors()

Expand Down

0 comments on commit 67a420a

Please sign in to comment.