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 #1786

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

Conversation

Page-
Copy link
Contributor

@Page- Page- commented Oct 8, 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 8, 2024 16:47
@Page- Page- enabled auto-merge October 8, 2024 16:48
@Page- Page- force-pushed the tests-minio-delay branch 2 times, most recently from c981a0b to 6dfc2bf Compare October 14, 2024 16:44
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 6dfc2bf to b3dd19d Compare October 25, 2024 11:11
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