Skip to content

Commit 7ec3665

Browse files
committed
style(host): gofmt fix comment alignment in chaos_test.go
Signed-off-by: Seva Kaloshin <seva.kaloshin@gmail.com>
1 parent db104cf commit 7ec3665

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

host/chaos_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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())

0 commit comments

Comments
 (0)