summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-11-16 21:04:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-11-16 21:07:31 +0100
commit9d699ba730bf1be7c9acc0b6a2cb80c3f92f939f (patch)
tree186e8d64032f488fc51252ae2aeb19c574fa872a
parent425f7c726bb6195249e934177d20c54875dda3b2 (diff)
device: start peers before running handshake test
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--device/noise_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/device/noise_test.go b/device/noise_test.go
index 807ca2d..e2f23c6 100644
--- a/device/noise_test.go
+++ b/device/noise_test.go
@@ -71,6 +71,8 @@ func TestNoiseHandshake(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ peer1.Start()
+ peer2.Start()
assertEqual(
t,