[ 
https://issues.apache.org/jira/browse/BEAM-6722?focusedWorklogId=208967&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-208967
 ]

ASF GitHub Bot logged work on BEAM-6722:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/19 16:54
            Start Date: 06/Mar/19 16:54
    Worklog Time Spent: 10m 
      Work Description: echauchot commented on pull request #8000: [BEAM-6722] 
Raise embedded Cassandra startup timeout to avoid flakiness in Cassandra tests
URL: https://github.com/apache/beam/pull/8000#discussion_r263036255
 
 

 ##########
 File path: 
sdks/java/io/cassandra/src/test/java/org/apache/beam/sdk/io/cassandra/CassandraIOTest.java
 ##########
 @@ -101,7 +101,7 @@
   public static void startCassandra() throws Exception {
     System.setProperty("cassandra.jmx.local.port", JMX_PORT);
     startupTime = System.currentTimeMillis();
-    EmbeddedCassandraServerHelper.startEmbeddedCassandra();
+    EmbeddedCassandraServerHelper.startEmbeddedCassandra(STARTUP_TIMEOUT);
 
 Review comment:
   @mxm just pushed defensive code for it that way: 
   
   - if startup time is above 45s, startCassandra BeForeClass fails with an 
exception and no NPE in AfterClass because it does nothing in that case.
   - If startup time is between 20s and 45s then, all the tests are executed 
and pass.
 
----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 208967)
    Time Spent: 3h 40m  (was: 3.5h)

> :beam-sdks-java-io-cassandra:test is flaky
> ------------------------------------------
>
>                 Key: BEAM-6722
>                 URL: https://issues.apache.org/jira/browse/BEAM-6722
>             Project: Beam
>          Issue Type: Test
>          Components: io-java-cassandra
>            Reporter: Maximilian Michels
>            Priority: Major
>              Labels: flaky-test
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> I think this could be caused by the same issue as BEAM-6268.
> {noformat}
> 20:19:23 FAILURE: Build failed with an exception.
> 20:19:23 
> 20:19:23 * What went wrong:
> 20:19:23 Execution failed for task ':beam-sdks-java-io-cassandra:test'.
> 20:19:23 > There were failing tests. See the report at: 
> file:///home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit@2/src/sdks/java/io/cassandra/build/reports/tests/test/index.html
> 20:19:23 
> {noformat}
> https://builds.apache.org/job/beam_PreCommit_Java_Commit/4414/console



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to