apache / apache/pekko-projection

Test suites that use Testcontainers seem to be flaky

Open
#303 1 comment 0 reactions 0 assignees View on GitHub
flaky test
Dominant language
Scala
Stars
27
Forks
16
Avg merge
1d 4h
Merged PRs (30d)
15

Description

Various test that depend on Testcontainers seem to be flaky, GitHub Action run history shows - `WordCountDocExampleSpec`, `KafkaToSlickIntegrationSpec` , `CassandraProjectionTest`.

If there is ever time/will to stabilize this, one option would be to get rid of Testcontainers starting the services within tests and to move the services out to a Docker Compose that is started before running tests, and then to modify tests to work within these shared services.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review GitHub Actions run history for WordCountDocExampleSpec, KafkaToSlickIntegrationSpec, and CassandraProjectionTest to identify the flaky failures. Then inspect how these tests start and use Testcontainers and evaluate the proposed Docker Compose setup. Done means the affected test suites run reliably against the shared services.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, scala
Domain
ci-cd, devops, testing
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.