This is an automated email from the ASF dual-hosted git repository.

sekikn pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/bigtop.git

commit eac9f3feefa04e801f849a0828a7b8aace8413fd
Author: Kengo Seki <[email protected]>
AuthorDate: Fri Nov 6 17:16:16 2020 +0900

    BIGTOP-3441. Suppress YCSB smoke test output. (#691)
---
 bigtop-tests/smoke-tests/ycsb/TestYcsbSmoke.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bigtop-tests/smoke-tests/ycsb/TestYcsbSmoke.groovy 
b/bigtop-tests/smoke-tests/ycsb/TestYcsbSmoke.groovy
index d73a7cb..8fe0ed9 100644
--- a/bigtop-tests/smoke-tests/ycsb/TestYcsbSmoke.groovy
+++ b/bigtop-tests/smoke-tests/ycsb/TestYcsbSmoke.groovy
@@ -59,7 +59,7 @@ class TestYcsbSmoke {
     sh.exec(basic_load
       + "-P " + ycsb_workloadA
       + "-p " + record_cnt
-      + "-s > load_basic.dat"
+      + "-s >/dev/null 2>load_basic.dat"
     );
     logError(sh);
     assertTrue("YCSB basic load failed." + sh.getOut() + " " + sh.getErr(), 
sh.getRet() == 0);
@@ -70,7 +70,7 @@ class TestYcsbSmoke {
       + "-p measurementtype=timeseries "
       + "-p timeseries.granularity=2000 "
       + "-threads 10 -target 100 "
-      + "-s > transactions_basic.dat"
+      + "-s >/dev/null 2>transactions_basic.dat"
     );
     logError(sh);
     assertTrue("YCSB basic run failed." + sh.getOut() + " " + sh.getErr(), 
sh.getRet() == 0);

Reply via email to