rustyrazorblade opened a new pull request, #354:
URL: https://github.com/apache/cassandra-sidecar/pull/354

   ## Summary
   
   - Bumps `waitForSchemaReady` timeout from 10s to 30s in all three test 
methods in `RestoreJobDatabaseAccessorIntTest`
   - Matches the convention used by the majority of other integration tests 
(e.g. `CqlSessionProviderIntegrationTest`, `RestoreJobDiscoverer*IntTest`, 
`MutualTLSAuthenticationIntegrationTest`)
   
   ## Problem
   
   CI run https://github.com/apache/cassandra-sidecar/actions/runs/26172697048 
showed intermittent failures on the lightweight integration test jobs for C* 
5.0 and 5.1:
   
   - `RestoreJobDatabaseAccessorIntTest.testCrudOperations` (Java 11, C* 5.0) — 
`IllegalStateException: Sidecar schema is not initialized!`
   - `RestoreJobDatabaseAccessorIntTest.testIamCredentialTypeRoundTrips` (Java 
11, C* 5.1) — same
   
   The root cause is `AbstractSchema.initializeInternal()` returning `false` 
when `isSchemaInAgreement()` is not immediately satisfied after the `CREATE 
TABLE` DDL. On C* 5.x schema agreement takes longer than on C* 4.x, and the 10s 
window is not enough under parallel test load, leaving 
`SidecarSchema.isInitialized` as `false` when the test proceeds.
   
   ## Test plan
   
   - [ ] Verify lightweight integration tests pass on C* 5.0 and C* 5.1 in CI


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to