Bump the sleep in the controller testing. (#88)

The rate limiting queue makes the sleep necessary.  Locally I see 0-2 failures when this is run with -count=10000.  This bumps the sleep slightly to reduce this further.

Fixes: https://github.com/knative/pkg/issues/56
This commit is contained in:
Matt Moore 2018-09-24 07:49:20 -07:00 committed by Knative Prow Robot
parent f81d0f8f0f
commit 4da41e302a
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ func TestEnqueues(t *testing.T) {
test.work(impl)
// The rate limit on our queue delays when things are added to the queue.
time.Sleep(10 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
impl.WorkQueue.ShutDown()
gotQueue := drainWorkQueue(impl.WorkQueue)