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

Kenneth Knowles commented on BEAM-10506:
----------------------------------------

I like setting timeouts to something like 10x the average time (if I were 
better at statistics, maybe I would phrase this in terms of standard 
deviations). They only really exist to catch deadlocks and crash loops, etc. So 
if it is really just about slowness, let us increase the timeout. The load may 
also result in processes getting killed so if that happens we have to come up 
with other plans.

> Flake / failure in SplunkEventWriterTest > 
> successfulSplunkWriteSingleBatchTest
> -------------------------------------------------------------------------------
>
>                 Key: BEAM-10506
>                 URL: https://issues.apache.org/jira/browse/BEAM-10506
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-splunk, test-failures
>            Reporter: Kenneth Knowles
>            Priority: P1
>              Labels: flake
>
> https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/12391/testReport/junit/org.apache.beam.sdk.io.splunk/SplunkEventWriterTest/successfulSplunkWriteSingleBatchTest/
> {code}
> org.mockserver.client.SocketCommunicationException: Response was not received 
> from MockServer after 20000 milliseconds, to wait longer please use 
> "mockserver.maxSocketTimeout" system property or 
> ConfigurationProperties.maxSocketTimeout(long milliseconds)
>       at 
> org.mockserver.client.NettyHttpClient.sendRequest(NettyHttpClient.java:99)
>       at 
> org.mockserver.client.MockServerClient.sendRequest(MockServerClient.java:183)
>       at 
> org.mockserver.client.MockServerClient.upsert(MockServerClient.java:844)
>       at 
> org.mockserver.client.ForwardChainExpectation.respond(ForwardChainExpectation.java:49)
>       at 
> org.apache.beam.sdk.io.splunk.SplunkEventWriterTest.mockServerListening(SplunkEventWriterTest.java:275)
>       at 
> org.apache.beam.sdk.io.splunk.SplunkEventWriterTest.successfulSplunkWriteSingleBatchTest(SplunkEventWriterTest.java:109)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to