HOTFIX: RegexSourceIntegrationTest needs to cleanup shared output topic (#5008)

Reviewers: Guozhang Wang <wangguoz@gmail.com>
This commit is contained in:
Matthias J. Sax 2018-05-11 13:53:27 -07:00 committed by Guozhang Wang
parent caca1fdc90
commit adeced2997
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ public class RegexSourceIntegrationTest {
}
@Before
public void setUp() {
public void setUp() throws Exception {
CLUSTER.deleteAndRecreateTopics(DEFAULT_OUTPUT_TOPIC);
final Properties properties = new Properties();
properties.put(IntegrationTestUtils.INTERNAL_LEAVE_GROUP_ON_CLOSE, true);
streamsConfiguration = StreamsTestUtils.getStreamsConfig("regex-source-integration-test",