aboutsummaryrefslogtreecommitdiff
path: root/cmd/roomserver-integration-tests/main.go
diff options
context:
space:
mode:
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 {