Retry once and requeue on failure to update status.Replicas

This commit is contained in:
Prashanth Balasubramanian
2015-05-01 08:49:06 -07:00
parent ee473edd45
commit 864e12d995
5 changed files with 133 additions and 29 deletions

View File

@@ -88,11 +88,12 @@ func TestSyncNamespaceThatIsTerminating(t *testing.T) {
if err != nil {
t.Errorf("Unexpected error when synching namespace %v", err)
}
// TODO: Reuse the constants for all these strings from testclient
expectedActionSet := util.NewStringSet(
testclient.ListControllerAction,
"list-services",
"list-pods",
"list-resourceQuotas",
"list-replicationControllers",
"list-secrets",
"list-limitRanges",
"list-events",