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

[update] add DeleteIncompleteExperiments (#928) #933

Merged
merged 3 commits into from
Sep 21, 2020

Conversation

ti-srebot
Copy link
Contributor

cherry-pick #928 to release-1.0


Signed-off-by: “fewdan” fewdan@hotmail.com

What problem does this PR solve?

#923

What is changed and how does it work?

If the chaos-dashboard was restarted and the experiment is completed during the restart, which means the experiment would never save the finish_time.
DeleteIncompleteExperiments can be used to delete all incomplete experiments to avoid this case.

Checklist

Tests

  • Unit test
  • E2E test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?

NONE

Signed-off-by: “fewdan” <fewdan@hotmail.com>
Signed-off-by: “fewdan” <fewdan@hotmail.com>
Signed-off-by: “fewdan” <fewdan@hotmail.com>
@ti-srebot
Copy link
Contributor Author

/run-all-tests

Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot
Copy link
Contributor Author

@WangXiangUSTC,Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments.See the corresponding SIG page for more information. Related SIG: chaos-mesh(slack).

@cwen0 cwen0 merged commit 5aa25d8 into chaos-mesh:release-1.0 Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT1 type/bug-fix A bug needs to be fixed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants