Skip to content

Commit

Permalink
fix build on TeamCity for consumer test
Browse files Browse the repository at this point in the history
  • Loading branch information
conker84 committed Jan 23, 2020
1 parent 1b398eb commit 4532bbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class KafkaEventSinkNoTopicAutoCreationIT {
fun `should consume only the registered topic`() {
// given
val topic = "shouldWriteCypherQuery"
val client = AdminClient.create(mapOf("bootstrap.servers" to "localhost:" + kafka.firstMappedPort))
val client = AdminClient.create(mapOf("bootstrap.servers" to kafka.bootstrapServers.substring("PLAINTEXT://".length)))
val expectedTopics = listOf(topic)
client.createTopics(expectedTopics.map { NewTopic(it, 1, 1) })
.all()
Expand Down

0 comments on commit 4532bbd

Please sign in to comment.