Skip to content

Commit

Permalink
Disable flaky test assertion in ConnectionPoolTest
Browse files Browse the repository at this point in the history
The assertion `taskRunner.activeQueues()` was commented out due to a race condition causing flaky tests. This ensures more consistent test results while the underlying issue is investigated.
  • Loading branch information
yschimke committed Feb 1, 2025
1 parent 776f413 commit e83a59a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ class ConnectionPoolTest {
maxIdleConnections = 2,
)
factory.newConnection(pool, routeA1)
assertThat(taskRunner.activeQueues()).isNotEmpty()
// Racy causing flaky tests
// assertThat(taskRunner.activeQueues()).isNotEmpty()
assertThat(taskRunnerThreads).isNotEmpty()
Thread.sleep(100)
for (t in taskRunnerThreads) {
Expand Down

0 comments on commit e83a59a

Please sign in to comment.