xmtp-ios icon indicating copy to clipboard operation
xmtp-ios copied to clipboard

Reproduce Pool Connection Error

Open nplasterer opened this issue 8 months ago • 1 comments

Bare minimum repro test

nplasterer avatar Apr 09 '25 15:04 nplasterer

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.

macroscopeapp[bot] avatar Apr 09 '25 15:04 macroscopeapp[bot]