device: start peers before running handshake test
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
425f7c726b
commit
9d699ba730
|
@ -71,6 +71,8 @@ func TestNoiseHandshake(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
peer1.Start()
|
||||||
|
peer2.Start()
|
||||||
|
|
||||||
assertEqual(
|
assertEqual(
|
||||||
t,
|
t,
|
||||||
|
|
Loading…
Reference in a new issue