aboutsummaryrefslogtreecommitdiff
path: root/cmd/roomserver-integration-tests/main.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-08-10 15:18:37 +0100
committerGitHub <noreply@github.com>2020-08-10 15:18:37 +0100
commit52eeeb16279497e24ed6b1e34a7a16fc69b587d1 (patch)
treecfcf9c482afe230ae251bd1d472cb59d9cc9e906 /cmd/roomserver-integration-tests/main.go
parent4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff)
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics * Fix current state server test
Diffstat (limited to 'cmd/roomserver-integration-tests/main.go')
-rw-r--r--cmd/roomserver-integration-tests/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/roomserver-integration-tests/main.go b/cmd/roomserver-integration-tests/main.go
index 4d3095be..a9c88ae1 100644
--- a/cmd/roomserver-integration-tests/main.go
+++ b/cmd/roomserver-integration-tests/main.go
@@ -29,6 +29,7 @@ import (
"net/http"
"github.com/matrix-org/dendrite/internal/caching"
+ "github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/test"
"github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/roomserver/inthttp"
@@ -240,7 +241,7 @@ func testRoomserver(input []string, wantOutput []string, checkQueries func(api.R
panic(err)
}
- outputTopic := string(cfg.Global.Kafka.Topics.OutputRoomEvent)
+ outputTopic := cfg.Global.Kafka.TopicFor(config.TopicOutputRoomEvent)
err = exe.DeleteTopic(outputTopic)
if err != nil {