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

Fixes for test hook (4-2-stable) #2060

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Conversation

alanking
Copy link
Contributor

@alanking alanking commented Apr 5, 2022

adapted from changes in #2027

Copy link
Contributor

@korydraughn korydraughn left a comment

Choose a reason for hiding this comment

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

Other than the one comment. It looks good to me.

alanking added 2 commits April 5, 2022 12:52
Add --test, --skip-setup, and --teardown-minio options to test hook.

--skip-setup skips downloading and starting the MinIO service which
means that the user running the test assumes that MinIO is already
running in the configuration expected by the tests.

--teardown-minio will terminate the MinIO processes after running the
tests. --skip-setup and --teardown-minio are incompatible parameters
because the process object returned from subprocess.Popen must be
available to execute the termination logic, which is only the case when
setup is performed on the same test hook invocation.

Also replaced usage of deprecated features of MinIO:

- Replaced usage of MINIO_ACCESS_KEY and MINIO_SECRET_KEY with
MINIO_ROOT_USER and MINIO_ROOT_PASSWORD

- Started using --console-address to explicitly specify the API port for
the MinIO server
@alanking alanking merged commit 53b126c into irods:4-2-stable Apr 5, 2022
@alanking alanking deleted the 6020.42s branch April 5, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants