From a2c16ce7a699c62c4ed01ccd079a41b4e1ac34bc Mon Sep 17 00:00:00 2001 From: Tim Pepper Date: Tue, 21 Jun 2016 15:26:27 -0700 Subject: [PATCH] testutil: use standard NetAgentUUID in client-server test The example test is about showing how to get reproducible flows through the cluster. For that the NetAgent should be at a known UUID, not a random one. Signed-off-by: Tim Pepper --- testutil/client_server_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testutil/client_server_test.go b/testutil/client_server_test.go index f86e43094..6d50af4e5 100644 --- a/testutil/client_server_test.go +++ b/testutil/client_server_test.go @@ -477,8 +477,7 @@ func TestMain(m *testing.M) { } // start netagent - netAgentUUID := uuid.Generate().String() - netAgent, err = NewSsntpTestClientConnection("NETAGENT Client", ssntp.NETAGENT, netAgentUUID) + netAgent, err = NewSsntpTestClientConnection("NETAGENT Client", ssntp.NETAGENT, NetAgentUUID) if err != nil { os.Exit(1) }