echauchot edited a comment on pull request #19059: URL: https://github.com/apache/flink/pull/19059#issuecomment-1066696748
@zentol, I analyzed the problem. `OperationTimeoutException` definitely happens at the client side (Cassandra driver) under load in all the tests but the timeouts raised seem to be not enough. So I reduced the load by avoiding "IF EXIST" in CQL requests and more important I replaced `drop keyspace` by `drop table`. Indeed, each `Before` updates the tableID and it is called even in case or retrials. So, we need to drop only the created table for this test (with the same tableID) and not the whole keyspace. That will reduce the overall load on cassandra (so I hope no more timeouts) but also fix the `keyspace does not exist` flaky issue. Finally I put `testRetrialDropTable` back to check that everything still works in case of retrial (drop the single table instead of keyspace etc...) I did 10 local runs of the whole CassandraITCase with no error. PTAL -- 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]
