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

Tests: Wait for the minio-server to initialize before using it #816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Page-
Copy link
Collaborator

@Page- Page- commented Oct 4, 2024

This should help fix flakiness we're seeing with webresources where tests fail because we try to create the bucket before the minio server has initialized and therefore it causes test failures. This also adds a set -e so that if the command does still fail it should fail fast rather than after trying to run all the tests, and make it clearer where the error actually originates from

Change-type: patch

@Page- Page- requested a review from a team October 4, 2024 12:36
@Page- Page- enabled auto-merge October 4, 2024 12:38
@Page- Page- force-pushed the tests-minio-delay branch from fbf0c00 to 7f4d658 Compare October 4, 2024 12:50
@Page- Page- changed the title Tests: Add a delay for the minio-server to initialize before using it Tests: Wait for the minio-server to initialize before using it Oct 4, 2024
@Page- Page- force-pushed the tests-minio-delay branch from 7f4d658 to b51bdda Compare October 4, 2024 14:35
This should help fix flakiness we're seeing with webresources where
tests fail because we try to create the bucket before the minio server
has initialized and therefore it causes test failures. This also adds
a `set -e` so that if the command does still fail it should fail fast
rather than after trying to run all the tests, and make it clearer
where the error actually originates from

Change-type: patch
@Page- Page- force-pushed the tests-minio-delay branch from b51bdda to 758b12c Compare October 4, 2024 14:55
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