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

Skip MinIO test when the MinIO playground is not responding or filled up #1068

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jesper-friis
Copy link
Collaborator

Description

The MinIO tests often fails due to the MinIO playground not being available or its storage is filled up by other users.
Instead of failing the whole DLite test suite, it is highly preferable to just mark the MinIO tests as skipped in these cases.

Tried to implement this PR at the CMake level to avoid unnecessary complicating the minio_storage example. However, CMake unfortunately doesn't support combining the TIMEOUT and SKIP_REGULAR_EXPRESSION test properties (as also noted by https://stackoverflow.com/questions/49153984/non-failing-timeout-using-ctest), so timeout was moved to Python.

We currently have not timeout in the test_minio cmake test since dlite.Storage doesn't implement timeout. Issue #1067 has been added to address that.

Also bumped up the CMake requirements to 3.16 such that we can use the SKIP_REGULAR_EXPRESSION test property.

Type of change

  • Bug fix & code cleanup
  • New feature
  • Documentation update
  • Test update

Checklist for the reviewer

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?

…ilable or its storage is filled up by other users.

Skip the minio tests in these cases instead of failing the whole dlite test suite.

Bumped up the CMake requirements to 3.16 such that we can use the SKIP_REGULAR_EXPRESSION test property.
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.

1 participant