mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 16:11:48 -05:00
* chore(compat): run sdk-test-java classes in parallel and pre-pull service images The sdk-test-java leg has grown to ~18 min because the suite runs strictly serially and most of its time is spent waiting on containers Floci starts and on minute-aligned metric ticks. Run test classes three at a time (the methods of a class stay on one thread, in order), with @ResourceLock on the classes that change Organizations or SES account-level state and @Isolated on the ones that change wider shared state. Also pull the heavy service images in the background before the tests start, so they no longer serialize inside the test window, and drop the stale "~10 min" note from the timing-report comment. On the homelab runner (x86, 6 vCPU, JVM Floci with CI's flags) the suite went from 21.5 to 10.7 min with the same 2933 tests and no new failures. Signed-off-by: Hector Ventura <hectorvent@gmail.com> * chore(compat): lock the classes that share port 5432 and floci-duck The first CI run in parallel failed three tests. RdsControlPlaneTest's DB proxy could not bind port 5432 while DsqlCompatTest's endpoint held it, so the two now share a lock. DataLakeTest's Athena query failed in floci-duck while RedshiftRelationalSpectrumTest was using it; the classes that drive floci-duck now share a lock too. EcrTest deleted its last repository and the next CreateRepository stalled for 30 s, past the SDK's timeout, while Floci kept calling the removed registry's cached address. The retry then got RepositoryAlreadyExists. The class now keeps one repository for its whole run, so the registry stays up. Signed-off-by: Hector Ventura <hectorvent@gmail.com> --------- Signed-off-by: Hector Ventura <hectorvent@gmail.com>