Add sync behavior to the pod registry. Expand tests.

This commit is contained in:
Brendan Burns
2014-06-27 17:43:36 -07:00
parent d75bd790d3
commit 13d7a5959a
6 changed files with 89 additions and 13 deletions

View File

@@ -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")