Commit a326c4e2 authored by David Stainton's avatar David Stainton

Make the tests compile

parent fa1488e5
Pipeline #959 failed with stage
in 3 minutes and 11 seconds
......@@ -68,9 +68,7 @@ func TestClientConnect(t *testing.T) {
// send a message
t.Logf("desc.Provider: %s", desc.Provider)
mesgID, err := s.SendUnreliableMessage(desc.Name, desc.Provider, []byte("hello!"))
require.NoError(err)
_, err = s.WaitForReply(mesgID)
_, err = s.BlockingSendUnreliableMessage(desc.Name, desc.Provider, []byte("hello!"))
require.NoError(err)
t.Logf("Sent unreliable message to loop service")
......@@ -162,9 +160,7 @@ func TestDecoyClient(t *testing.T) {
wg.Add(1)
go func() {
t.Logf("SendUnreliableMessage()")
mesgID, err := s.SendUnreliableMessage(desc.Name, desc.Provider, []byte("hello!"))
require.NoError(err)
_, err = s.WaitForReply(mesgID)
_, err := s.BlockingSendUnreliableMessage(desc.Name, desc.Provider, []byte("hello!"))
require.NoError(err)
wg.Done()
}()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment