Give the rollout test a silence window anchor's report fits in while the whole integration level runs at once (issue 1938)
This commit is contained in:
@@ -31,7 +31,7 @@ func TestARolloutAdvancesOnEventsAndAReplacedControllerResumesIt(t *testing.T) {
|
||||
|
||||
// A quarter of an hour of silence is two seconds here.
|
||||
wasSilent := applySilentAfter
|
||||
applySilentAfter = 2 * time.Second
|
||||
applySilentAfter = 5 * time.Second // wide enough that anchor reports within it while every package runs at once (issue 1938)
|
||||
t.Cleanup(func() { applySilentAfter = wasSilent })
|
||||
|
||||
js, err := broker.Dial(testbus.URL(t))
|
||||
|
||||
Reference in New Issue
Block a user