jj314 commented on PR #63: URL: https://github.com/apache/flink-connector-mongodb/pull/63#issuecomment-4295637144
Hello @rmetzger thanks for running the workflow. I think the reason for the failure in `writeConcernZero` test case might be that with write concern zero we don't wait for the write to be flushed and acknowledged. So when the assert happened the the write was not flushed yet and the document not visible. According to [MongoDB documentation](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-storage.journal.commitIntervalMs) the default commit interval is 100 ms. I saw in the logs that the time between the insert and the assertion was failure was 10 ms in github CI. Locally where I could not reproduce the test faillure, 143 ms pass between the insert and the end of the test. To make the test more consistent, I changed it so it checks repeatedly with a timeout of 10 seconds. Can you please try running the workflow again? -- 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]
