mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-01 13:53:55 +00:00
Add sync behavior to the pod registry. Expand tests.
This commit is contained in:
@@ -211,7 +211,7 @@ func TestCreateController(t *testing.T) {
|
||||
expectNoError(t, err)
|
||||
|
||||
select {
|
||||
case <-time.After(time.Second * 1):
|
||||
case <-time.After(time.Millisecond * 100):
|
||||
// Do nothing, this is expected.
|
||||
case <-channel:
|
||||
t.Error("Unexpected read from async channel")
|
||||
|
||||
Reference in New Issue
Block a user