testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

[Enhancement]: Reduce flakiness from Couchbase tests

Open mdelapenya opened this issue 1 year ago • 0 comments

Proposal

See ExampleRunContainer panics in https://github.com/testcontainers/testcontainers-go/actions/runs/6853047281/job/18653295873

FAIL ExampleRunContainer (107.70s) === RUN ExampleRunContainer 2023/11/14 06:40:59 🐳 Creating container for image couchbase:community-7.1.1 2023/11/14 06:40:59 ✅ Container created: 0293ce68fde5 2023/11/14 06:40:59 🐳 Starting container: 0293ce68fde5 2023/11/14 06:40:59 ✅ Container started: 0293ce68fde5 2023/11/14 06:42:46 🐳 Terminating container: 0293ce68fde5 2023/11/14 06:42:46 🚫 Container terminated: 0293ce68fde5

FAIL Package . (4m26.879s) (coverage: 77.9% of statements)

=== Failed === FAIL: . ExampleRunContainer (107.70s) === RUN ExampleRunContainer 2023/11/14 06:40:59 🐳 Creating container for image couchbase:community-7.1.1 2023/11/14 06:40:59 ✅ Container created: 0293ce68fde5 2023/11/14 06:40:59 🐳 Starting container: 0293ce68fde5 2023/11/14 06:40:59 ✅ Container started: 0293ce68fde5 2023/11/14 06:42:46 🐳 Terminating container: 0293ce68fde5 2023/11/14 06:42:46 🚫 Container terminated: 0293ce68fde5

DONE 7 tests, 1 failure in 279.513s ERROR rerun aborted because previous run had a suspected panic and some test may not have run make: *** [../../commons-test.mk:15: test-unit] Error 3 Error: Process completed with exit code 2.

It would be important to identify why the tests fail, and check if the solution applied for ClickHouse tests is valid here too (see #1902)

mdelapenya avatar Nov 14 '23 10:11 mdelapenya