xmtp-ios
xmtp-ios copied to clipboard
Reproduce Pool Connection Error
Bare minimum repro test
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.