Skip to content

Commit 5a6750a

Browse files
committed
Fix type ambiguity of method argument in test
1 parent 44bd0ef commit 5a6750a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

it/kafka/src/test/java/org/apache/beam/it/kafka/KafkaResourceManagerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public void testCleanupShouldDropNonStaticTopic() throws IOException {
166166
KafkaResourceManager tm = new KafkaResourceManager(kafkaClient, container, builder);
167167

168168
tm.cleanupAll();
169-
verify(kafkaClient).deleteTopics(argThat(list -> list.size() == numTopics));
169+
verify(kafkaClient)
170+
.deleteTopics(argThat((Collection<String> list) -> list.size() == numTopics));
170171
}
171172

172173
@Test

0 commit comments

Comments
 (0)