[ 
https://issues.apache.org/jira/browse/BAHIR-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15719674#comment-15719674
 ] 

Christian Kadner commented on BAHIR-83:
---------------------------------------

I went back a few more commits to {{a351549}} and rerun the test 100 times with 
0 failures.

It looks like before [BAHIR-51: Add new configuration options to 
MqttStreamSource|https://issues.apache.org/jira/browse/BAHIR-51] this test case 
run successfully consistently.

> Flaky test in BasicMQTTSourceSuite
> ----------------------------------
>
>                 Key: BAHIR-83
>                 URL: https://issues.apache.org/jira/browse/BAHIR-83
>             Project: Bahir
>          Issue Type: Test
>          Components: Spark Structured Streaming Connectors
>    Affects Versions: Spark-2.0.1
>         Environment: Maven 3.3.9, JDK 1.8, 2015 MacBook Pro, 16 GB RAM, 50 GB 
> free storage
>            Reporter: Christian Kadner
>            Assignee: Prashant Sharma
>
> The test case _"Recovering offset from the last processed offset."_ in 
> {{BasicMQTTSourceSuite}} fails sporadically.
> I did repeated runs of that particular test and it failed 6 of 100 runs.
> {code}
> for i in `seq 100` ; do
>   mvn scalatest:test -pl sql-streaming-mqtt -q \
>     -Dsuites='*.BasicMQTTSourceSuite @ Recovering offset from the last 
> processed offset.' | \
>     grep -q "TEST FAILED" && echo "$i: failed"
> done
> 1: failed
> 6: failed
> 22: failed
> 46: failed
> 77: failed
> 83: failed
> {code}
> The complete test suite BasicMQTTSourceSuite failed 56/100 times.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to