mirror of https://github.com/apache/kafka.git
HOTFIX: Update unit test for KIP-443
This commit is contained in:
parent
213466b3d4
commit
c23bf7a360
|
@ -644,7 +644,7 @@ public class InternalTopologyBuilderTest {
|
|||
final InternalTopicConfig topicConfig = topicsInfo.repartitionSourceTopics.get("appId-foo");
|
||||
final Map<String, String> properties = topicConfig.getProperties(Collections.<String, String>emptyMap(), 10000);
|
||||
assertEquals(3, properties.size());
|
||||
assertEquals(String.valueOf(Long.MAX_VALUE), properties.get(TopicConfig.RETENTION_MS_CONFIG));
|
||||
assertEquals(String.valueOf(-1), properties.get(TopicConfig.RETENTION_MS_CONFIG));
|
||||
assertEquals(TopicConfig.CLEANUP_POLICY_DELETE, properties.get(TopicConfig.CLEANUP_POLICY_CONFIG));
|
||||
assertEquals("appId-foo", topicConfig.name());
|
||||
assertTrue(topicConfig instanceof RepartitionTopicConfig);
|
||||
|
|
Loading…
Reference in New Issue