tillrohrmann commented on a change in pull request #10726: 
[FLINK-15427][Statebackend][test] Check TTL test in test_stream_statettl.sh and 
skip the exception check
URL: https://github.com/apache/flink/pull/10726#discussion_r362514256
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/test_stream_state_ttl.sh
 ##########
 @@ -74,4 +74,7 @@ wait_job_running ${JOB}
 wait_oper_metric_num_in_records TtlVerifyUpdateFunction.0 ${UPDATE_NUM} "State 
TTL test job"
 
 # if verification fails job produces failed TTL'ed state updates,
-# output would be non-empty and the test will not pass
+# output would be non-empty and contains TTL verification failed:
+if grep "TTL verification failed:" $FLINK_DIR/log/*.out > /dev/null; then
 
 Review comment:
   ```suggestion
   if grep --quiet "TTL verification failed:" $FLINK_DIR/log/*.out ; then
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to