You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/07/06 00:22:00 UTC

[GitHub] [spark] HeartSaVioR edited a comment on issue #25048: [SPARK-28247][SS] Fix flaky test "query without test harness" on ContinuousSuite

HeartSaVioR edited a comment on issue #25048: [SPARK-28247][SS] Fix flaky test "query without test harness" on ContinuousSuite 
URL: https://github.com/apache/spark/pull/25048#issuecomment-508734451
 
 
   I'm also running the test indefinitely leveraging sbt:
   
   ```
   #!/bin/bash
   
   COUNT=0
   while true; do
     build/sbt -Djline.terminal=jline.UnsupportedTerminal "sql/testOnly *ContinuousSuite -- -z \"query without test harness\"" > test-run-console.log 2>&1;
     RET=$?
     grep "are not a superset of" test-run-console.log
     if [ $RET -ne 0 ]; then
       echo "Test failed with $COUNT times!"
       cp test-run-console.log failed-test-run-console.log
       echo "Copied console output log to failed-test-run-console.log ..."
       cp sql/core/target/unit-tests.log failed-test-log.log
       echo "Copied unit test log to failed-test-log.log ... exiting..."
       exit $?
     fi
     COUNT=$((COUNT + 1))
     if [ $((COUNT % 10)) -eq 0 ]; then
       echo "Passed $COUNT times!"
     fi
   done
   ```
   
   assuming sbt will return nonzero when test fails.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org