tonytanger commented on PR #29277:
URL: https://github.com/apache/beam/pull/29277#issuecomment-1809199940

   Thanks! The reason for the flakiness is due to the StartTime value in 
ReadChangeStreamRequest. There might be a discrepancy between the system time 
on the client and the server, such that the stream start time set by the client 
is in the "future". See the PR description for an example.
   
   Unless the server implements an API to validate time, I don't think we will 
be able to wait on an expected scenario. 
   
   I recognize this is an imperfect solution and sleep often is code smell but 
I think this is the best compromise. The bulk of the time of this test will be 
spent reading from the stream.


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