Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Conversation

@debasishg
Copy link
Contributor

This PR fixes an issue with the unit test for kafka-stream-s. When tests are run for cross-building, sometimes testOnly for Scala 2.11.11 fails with the following exception:

TopicExistsException, which occurs because the previous run of the same test (under Scala 2.12) failed to clean the topic. Looks like some issue with KafkaLocalServer not cleaning stuff properly or the topic was not removed because the tests are stateful (this is documented in Kafka Streams though).

For the first issue, we now create topics with names having a random component. Hence the problem gets fixed and the final cleanup happens when sbt exits.

Copy link

@deanwampler deanwampler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hack solution ;), but LGTM.

@debasishg debasishg merged commit e449708 into develop Dec 8, 2017
@debasishg debasishg deleted the fix-test branch December 8, 2017 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants