From 48340e6833cb4df050523299577de8ddfa47d682 Mon Sep 17 00:00:00 2001 From: Kevin Normoyle Date: Tue, 27 May 2014 13:08:17 -0700 Subject: [PATCH] get rid of double import --- py/testdir_release/c2/test_c2_fvec.py | 10 ++++++---- py/testdir_release/c2/test_c2_nongz_fvec.py | 9 +++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/py/testdir_release/c2/test_c2_fvec.py b/py/testdir_release/c2/test_c2_fvec.py index 4d73a83438..431dd40e88 100644 --- a/py/testdir_release/c2/test_c2_fvec.py +++ b/py/testdir_release/c2/test_c2_fvec.py @@ -34,10 +34,12 @@ def sub_c2_fvec_long(self): for trial, (csvFilepattern, csvFilename, totalBytes, timeoutSecs) in enumerate(csvFilenameList): csvPathname = importFolderPath + "/" + csvFilepattern - (importResult, importPattern) = h2i.import_only(bucket=bucket, path=csvPathname, schema='local') - importFullList = importResult['files'] - importFailList = importResult['fails'] - print "\n Problem if this is not empty: importFailList:", h2o.dump_json(importFailList) + + # double import still causing problems? + # (importResult, importPattern) = h2i.import_only(bucket=bucket, path=csvPathname, schema='local') + # importFullList = importResult['files'] + # importFailList = importResult['fails'] + # print "\n Problem if this is not empty: importFailList:", h2o.dump_json(importFailList) # this accumulates performance stats into a benchmark log over multiple runs # good for tracking whether we're getting slower or faster diff --git a/py/testdir_release/c2/test_c2_nongz_fvec.py b/py/testdir_release/c2/test_c2_nongz_fvec.py index 181cc2a477..864d920858 100644 --- a/py/testdir_release/c2/test_c2_nongz_fvec.py +++ b/py/testdir_release/c2/test_c2_nongz_fvec.py @@ -34,10 +34,11 @@ def sub_c2_nongz_fvec_long(self): for trial, (csvFilepattern, csvFilename, totalBytes, timeoutSecs) in enumerate(csvFilenameList): csvPathname = importFolderPath + "/" + csvFilepattern - (importResult, importPattern) = h2i.import_only(bucket=bucket, path=csvPathname, schema='local') - importFullList = importResult['files'] - importFailList = importResult['fails'] - print "\n Problem if this is not empty: importFailList:", h2o.dump_json(importFailList) + # double import still causing problems? + # (importResult, importPattern) = h2i.import_only(bucket=bucket, path=csvPathname, schema='local') + # importFullList = importResult['files'] + # importFailList = importResult['fails'] + # print "\n Problem if this is not empty: importFailList:", h2o.dump_json(importFailList) # this accumulates performance stats into a benchmark log over multiple runs # good for tracking whether we're getting slower or faster