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

Improve snapshot handling in automatus #13138

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

Conversation

jan-cerny
Copy link
Collaborator

Description:

  1. Change wording of log message
    Using "to" in "reverting to snapshot" better describes the actual
    activity. The name of the function is also revertToSnapshot.
  2. Don't revert to snapshot during deletion of snapshot
    We revert to the snapshot after each test. When we want to delete
    the snapshot, we don't have to revert to the snapshot again, because
    we reverted to the snapshot right before it, so we can simply only
    delete it. This can save some time.

Using "to" in "reverting to snapshot" better describes the actual
activity. The name of the function is also `revertToSnapshot`.
We revert to the snapshot after each test. When we want to delete
the snapshot, we don't have to revert to the snapshot again, because
we reverted to the snapshot right before it, so we can simply only
delete it. This can save some time.
@jan-cerny jan-cerny added the Test Suite Update in Test Suite. label Mar 4, 2025
@jan-cerny jan-cerny added this to the 0.1.77 milestone Mar 4, 2025
Copy link

codeclimate bot commented Mar 4, 2025

Code Climate has analyzed commit 1c53cd5 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 62.1% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants