Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Demogorgon314 committed Aug 9, 2023
1 parent f96061b commit 5c5e0fc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ public void testCreateKafkaMetadataIfMissing() throws Exception {
verify(mockNamespaces, times(1)).setNamespaceMessageTTL(eq(conf.getKafkaMetadataTenant() + "/"
+ conf.getKafkaMetadataNamespace()), any(Integer.class));
verify(mockTopics, times(1)).createPartitionedTopic(
eq(offsetsTopic.getFullName()), eq(conf.getOffsetsTopicNumPartitions()));
eq(offsetsTopic.getFullName()), eq(conf.getOffsetsTopicNumPartitions()), any());
verify(mockTopics, times(1)).createPartitionedTopic(
eq(txnTopic.getFullName()), eq(conf.getKafkaTxnLogTopicNumPartitions()));
eq(txnTopic.getFullName()), eq(conf.getKafkaTxnLogTopicNumPartitions()), any());
verify(mockTopics, times(1)).createPartitionedTopic(
eq(txnProducerStateTopic.getFullName()), eq(conf.getKafkaTxnProducerStateTopicNumPartitions()));
eq(txnProducerStateTopic.getFullName()), eq(conf.getKafkaTxnProducerStateTopicNumPartitions()), any());
// check user topics namespace doesn't set the policy
verify(mockNamespaces, times(1)).createNamespace(eq(conf.getKafkaTenant() + "/"
+ conf.getKafkaNamespace()), any(Set.class));
Expand Down

0 comments on commit 5c5e0fc

Please sign in to comment.