From ba6c7c4a5c4166b7085343886ab69ef331238ff4 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 15 Sep 2020 16:15:34 +0100 Subject: [PATCH] Disable prometheus to unbreak tests --- roomserver/roomserver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roomserver/roomserver_test.go b/roomserver/roomserver_test.go index 5a67a1bed..ef5901004 100644 --- a/roomserver/roomserver_test.go +++ b/roomserver/roomserver_test.go @@ -172,7 +172,7 @@ func mustCreateRoomserverAPI(t *testing.T) (api.RoomserverInternalAPI, *dummyPro dp := &dummyProducer{ topic: cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent), } - cache, err := caching.NewInMemoryLRUCache(true) + cache, err := caching.NewInMemoryLRUCache(false) if err != nil { t.Fatalf("failed to make caches: %s", err) }