Skip to content

Commit 8efdd32

Browse files
committed
Improve test stability, -- Transaction.ContinueTheTransaction
1 parent 1a35a39 commit 8efdd32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/TestTransaction.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ TEST(Transaction, ContinueTheTransaction)
293293
.put(ConsumerConfig::ISOLATION_LEVEL, "read_committed"));
294294
consumer.subscribe({topic});
295295

296-
auto records = KafkaTestUtility::ConsumeMessagesUntilTimeout(consumer, std::chrono::seconds(1));
296+
auto records = KafkaTestUtility::ConsumeMessagesUntilTimeout(consumer);
297297
for (const auto& record: records)
298298
{
299299
std::cout << record.toString() << std::endl;
@@ -309,7 +309,7 @@ TEST(Transaction, ContinueTheTransaction)
309309
.put(ConsumerConfig::ISOLATION_LEVEL, "read_uncommitted"));
310310
consumer.subscribe({topic});
311311

312-
auto records = KafkaTestUtility::ConsumeMessagesUntilTimeout(consumer, std::chrono::seconds(1));
312+
auto records = KafkaTestUtility::ConsumeMessagesUntilTimeout(consumer);
313313
for (const auto& record: records)
314314
{
315315
std::cout << record.toString() << std::endl;

0 commit comments

Comments
 (0)