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

Track test environment setup in redis #468

Merged

Conversation

david-yz-liu
Copy link
Contributor

Currently the autotester does not keep track of the status of test environment creation (mostly, installing test dependencies). In particular, a MarkUs user is able to run tests even when not all dependencies are installed, likely resulting in tests failing with some kind of "import error".

This PR introduces a new _env_status attribute in the Redis store for test settings to track the status of environment creation. This attribute has three possible values:

  • setup: the environment is being set up (tests will not be run)
  • ready: setup is complete and tests can now be run
  • error: there was an error during environment setup (tests will not be run)

@david-yz-liu david-yz-liu merged commit 73cf25d into MarkUsProject:master Dec 21, 2023
13 checks passed
@david-yz-liu david-yz-liu deleted the environment-setup-status branch December 21, 2023 23:03
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