Merge pull request #46202 from lixiaobing10051267/masterServerTest

Automatic merge from submit-queue

print the name of invalid host to help to fix the bug

print the name of invalid host to help to fix the bug.
This commit is contained in:
Kubernetes Submit Queue 2017-05-26 02:34:50 -07:00 committed by GitHub
commit 58167fcfa1

View File

@ -31,7 +31,7 @@ func TestParseServerURIGood(t *testing.T) {
reference := "127.0.0.1:2379"
if host != reference {
t.Fatal("server uri was not parsed correctly")
t.Fatalf("server uri was not parsed correctly, host %s was invalid", host)
}
}