Skip to content

Reproduce Pool Connection Error#505

Draft
nplasterer wants to merge 1 commit intomainfrom
np/reproduce-pool-connection-error
Draft

Reproduce Pool Connection Error#505
nplasterer wants to merge 1 commit intomainfrom
np/reproduce-pool-connection-error

Conversation

@nplasterer
Copy link
Contributor

Bare minimum repro test

@nplasterer nplasterer self-assigned this Apr 9, 2025
@macroscopeapp
Copy link

macroscopeapp bot commented Apr 9, 2025

Add test case to verify connection pool exhaustion by creating 100 XMTP clients in GroupTests

Implements a new test function test_CanExhaustConnectionPoolQuickly() in GroupTests.swift that creates multiple XMTP clients in rapid succession to test connection pool limits. The test uses local environment settings with insecure connections and tracks the point at which client creation fails due to pool exhaustion.

📍Where to Start

Start with the test_CanExhaustConnectionPoolQuickly() function in GroupTests.swift, which contains the main test logic for connection pool exhaustion.


Macroscope summarized 74ec63a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant