Skip to content

[Enhancement]: Reduce flakiness from Couchbase tests #1913

@mdelapenya

Description

@mdelapenya

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueWant to contribute to testcontainers? Start from here

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions