Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI test runs #283

Merged
merged 1 commit into from
Sep 17, 2024
Merged

fix CI test runs #283

merged 1 commit into from
Sep 17, 2024

Conversation

echo-bravo-yahoo
Copy link
Contributor

@echo-bravo-yahoo echo-bravo-yahoo commented Sep 17, 2024

in CI, the tests are run using docker-compose targeting ./concourse/tasks/integration.yml. for instance, to repro locally, i ran docker-compose -f concourse/tasks/integration.yml run tests-310.

however, the faunadb container is brought up by the test's docker-compose stack because the tests depends_on the database container. but since the tests don't require the container to be healthy (merely existent), they fail well before the database container is up.

failing local run on v4 branch (repros failure in CI):
image

passing local run on this branch (demonstrates fix should work in CI):
image

in CI, the tests are run using docker-compose targeting
./concourse/tasks/integration.yml. for instance, to repro locally, i ran
`docker-compose -f concourse/tasks/integration.yml run tests-310`.

however, the faunadb container is brought up by the test's
docker-compose stack because the tests depends_on the database
container. but since the tests don't require the container to be healthy
(merely existent), they fail well before the database container is up.
Copy link
Contributor

@ptpaterson ptpaterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go for it

@echo-bravo-yahoo echo-bravo-yahoo merged commit 21b19e2 into v4 Sep 17, 2024
10 of 11 checks passed
@echo-bravo-yahoo echo-bravo-yahoo deleted the test-fix branch September 17, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants