File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased] [ ]
4
4
5
- [ Unreleased ] : https://github.com/chaostoolkit/chaostoolkit-addons/compare/0.8.1...HEAD
5
+ [ Unreleased ] : https://github.com/chaostoolkit/chaostoolkit-addons/compare/0.8.2...HEAD
6
+
7
+ ## [ 0.8.2] [ ]
8
+
9
+ [ 0.8.2 ] : https://github.com/chaostoolkit/chaostoolkit-addons/compare/0.8.1...0.8.2
10
+
11
+ ### Changed
12
+
13
+ - Indirection to the exeit function so we can override in tests
6
14
7
15
## [ 0.8.1] [ ]
8
16
Original file line number Diff line number Diff line change @@ -209,7 +209,10 @@ def _wait_interruption(self) -> None:
209
209
logger .critical (
210
210
"Safeguard '{}' triggered the end of the experiment" .format (
211
211
self .triggered_by ))
212
- exit_gracefully ()
212
+ self ._exit ()
213
+
214
+ def _exit (self ) -> None :
215
+ exit_gracefully ()
213
216
214
217
def _log_finished (self , f : Future , probe : Probe ) -> None :
215
218
"""
You can’t perform that action at this time.
0 commit comments