ronoaldo commented on issue #29180:
URL: https://github.com/apache/beam/issues/29180#issuecomment-1889927958

   tl, dr: network speed/storage caching/cdn was causing the latency and 
triggering the bug I reported; I guess that using the sleep is the best way to 
reproduce it.
   
   Just sharing my findings when testing... Previously it was consistently 
failing for me, perhaps due do the network speed/latency. At first I thought it 
was due to Go 1.21.4 -- testing with another Go version was not causing it but 
I was able to reproduce the issue with that specific version using Docker.
   
   Then I went ahead and started a for loop to test several go minor versions. 
And they all passed without issues. I then switched the file from kinglear to 
othello and it failed once, then never failed again. I guess that somehow then 
Cloud Storage cached the file and that reduced network latency during the local 
pipeline execution.
   
   Combining this with your comment, it does seem to be related to the latency 
as by adding a time.Sleep reproduced it.
   
   I'll test with the newer version of the library now to confirm that it 
passes as well. Thanks!


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to