File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ func TestChaosMonkey_ForcedRecoveryAtMinHosts(t *testing.T) {
201201 mc .EXPECT ().StopHost (gomock .Any ()).Times (0 ) // canStop=false
202202
203203 cfg := chaosTestCfg ()
204- cfg .MinHosts = 3 // equals numHosts → canStop always false
204+ cfg .MinHosts = 3 // equals numHosts → canStop always false
205205 cfg .StopChance = 1.0
206206 cfg .StartChance = 0.01 // near-zero: would almost never fire without the forced-recovery fix
207207
@@ -230,7 +230,7 @@ func TestChaosMonkey_NeverDropsBelowMinHosts(t *testing.T) {
230230 mc .EXPECT ().StartHost (gomock .Any ()).Times (0 )
231231
232232 cfg := chaosTestCfg ()
233- cfg .MinHosts = 2 // equals numHosts → canStop always false
233+ cfg .MinHosts = 2 // equals numHosts → canStop always false
234234 cfg .StopChance = 1.0 // would stop if it could
235235
236236 cm := NewChaosMonkey (mc , cfg , 2 , log .NewNoop ())
You can’t perform that action at this time.
0 commit comments