From de32ae240a2bbc7fd79e6e412d2b56fabff24171 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 6 Mar 2023 13:43:57 -0800 Subject: [PATCH] Remove Queue Oracle --- testing/autodownload/file_sharing_integration_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/testing/autodownload/file_sharing_integration_test.go b/testing/autodownload/file_sharing_integration_test.go index 549db81..51cd2a4 100644 --- a/testing/autodownload/file_sharing_integration_test.go +++ b/testing/autodownload/file_sharing_integration_test.go @@ -120,9 +120,6 @@ func TestFileSharing(t *testing.T) { alice.AutoHandleEvents([]event.Type{event.PeerStateChange, event.NewRetValMessageFromPeer}) bob.AutoHandleEvents([]event.Type{event.PeerStateChange, event.NewRetValMessageFromPeer}) - queueOracle := event.NewQueue() - app.GetEventBus(bob.GetOnion()).Subscribe(event.FileDownloaded, queueOracle) - // Turn on File Sharing Experiment... settings := app.ReadSettings() settings.ExperimentsEnabled = true @@ -171,7 +168,6 @@ func TestFileSharing(t *testing.T) { t.Fatalf("cwthc.png should have been automatically downloadeded...") } - queueOracle.Shutdown() app.Shutdown() acn.Close() time.Sleep(10 * time.Second)