From 8d84a1ea7607d1459293edb66f03e2ba44089308 Mon Sep 17 00:00:00 2001 From: Zihong Zheng Date: Tue, 6 Aug 2019 15:27:57 -0700 Subject: [PATCH] [e2e] Add verbose to reachability test commands --- test/e2e/framework/service/jig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/service/jig.go b/test/e2e/framework/service/jig.go index eff844cc07f..72541dc8571 100644 --- a/test/e2e/framework/service/jig.go +++ b/test/e2e/framework/service/jig.go @@ -788,9 +788,9 @@ func testEndpointReachability(endpoint string, port int32, protocol v1.Protocol, cmd := "" switch protocol { case v1.ProtocolTCP: - cmd = fmt.Sprintf("nc -z -t -w 2 %s %v", endpoint, port) + cmd = fmt.Sprintf("nc -zv -t -w 2 %s %v", endpoint, port) case v1.ProtocolUDP: - cmd = fmt.Sprintf("nc -z -u -w 2 %s %v", endpoint, port) + cmd = fmt.Sprintf("nc -zv -u -w 2 %s %v", endpoint, port) default: e2elog.Failf("Service reachablity check is not supported for %v", protocol) }