Merge pull request #4563 from xiang90/syncpod

pkg/kubelet: recreate infra pod if the pod is changed
This commit is contained in:
Dawn Chen
2015-02-20 00:29:26 -08:00
2 changed files with 19 additions and 13 deletions

View File

@@ -931,7 +931,7 @@ func TestSyncPodBadHash(t *testing.T) {
t.Errorf("unexpected error: %v", err)
}
verifyCalls(t, fakeDocker, []string{"list", "stop", "stop", "list", "create", "start"})
verifyCalls(t, fakeDocker, []string{"list", "stop", "list", "create", "start", "stop", "create", "start"})
// A map interation is used to delete containers, so must not depend on
// order here.