NodePort apiserver option for exposing KubernetesMasterService NodePort on startup.

This commit is contained in:
jayvyas
2015-10-01 22:59:00 -04:00
parent c095bbf8ca
commit be2a2ec3cd
5 changed files with 78 additions and 45 deletions

View File

@@ -259,7 +259,7 @@ func TestSetEndpoints(t *testing.T) {
}
if test.expectUpdate != nil {
if len(registry.Updates) != 1 {
t.Errorf("case %q: unexpected updates: %v", test.testName, registry.Updates)
t.Errorf("case %q: unexpected updates: (%v). Expected exactly 1 change. ", test.testName, registry.Updates)
} else if e, a := test.expectUpdate, &registry.Updates[0]; !reflect.DeepEqual(e, a) {
t.Errorf("case %q: expected update:\n%#v\ngot:\n%#v\n", test.testName, e, a)
}