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 "sql/testOnly *ContinuousSuite -- -z \"query without test harness\"" > /dev/null 2>&1; RET=$? grep "subsetOf" sql/core/target/unit-tests.log if [ $RET -ne 0 ]; then echo "Test failed with $COUNT times!" 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
