Skip to content

Commit

Permalink
fix test max num records
Browse files Browse the repository at this point in the history
  • Loading branch information
twosom committed Nov 5, 2024
1 parent d5fce0d commit f37b6b3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,9 @@ public void testReadWithMultipleTopics() throws Exception {
.withConnectionConfiguration(
MqttIO.ConnectionConfiguration.createWithMultipleTopics(
"tcp://localhost:" + port, Arrays.asList(topic1, topic2)))
.withMaxNumRecords(15)
.withMaxReadTime(Duration.standardSeconds(5));
.withMaxNumRecords(10);

final PCollection<MqttRecord> output = pipeline.apply(mqttReaderWithTopicArray);

PAssert.that(output)
.satisfies(
iter -> {
Expand Down

0 comments on commit f37b6b3

Please sign in to comment.