From 7a4d9e222de2c8e7075e12dffb4cc606902ae7cb Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 27 May 2020 18:17:27 +0100 Subject: [PATCH] Hopefully unstick test --- syncapi/sync/notifier_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syncapi/sync/notifier_test.go b/syncapi/sync/notifier_test.go index 001f2d233..daed12754 100644 --- a/syncapi/sync/notifier_test.go +++ b/syncapi/sync/notifier_test.go @@ -180,6 +180,9 @@ func TestCorrectStreamWakeup(t *testing.T) { if result := <-awoken; result != wake { t.Fatalf("expected to wake %q, got %q", wake, result) } + + close(n.userDeviceStreams[alice]["one"].signalChannel) + close(n.userDeviceStreams[alice]["two"].signalChannel) } // Test that an invite unblocks the request