Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
testutil: use standard NetAgentUUID in client-server test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Tim Pepper committed Jun 21, 2016
1 parent 7c458fe commit a2c16ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testutil/client_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit a2c16ce

Please sign in to comment.