e2e: Better error reporting in firewall test

Clearly report the particular ip/port that failed.
This commit is contained in:
Justin SB
2018-11-06 13:04:50 -05:00
parent 0400871df9
commit c136a99bf2
2 changed files with 23 additions and 14 deletions

View File

@@ -4941,7 +4941,7 @@ func getMaster(c clientset.Interface) Address {
func GetAllMasterAddresses(c clientset.Interface) []string {
master := getMaster(c)
var ips sets.String
ips := sets.NewString()
switch TestContext.Provider {
case "gce", "gke":
if master.externalIP != "" {