Stabilize notify focus regression socket detection

This commit is contained in:
Lawrence Chen 2026-03-05 02:47:36 -08:00
parent efdfd76484
commit c8487e1457

View file

@ -218,12 +218,12 @@ final class MultiWindowNotificationsUITests: XCTestCase {
XCTAssertTrue(waitForWindowCount(atLeast: 2, app: app, timeout: 6.0))
guard let resolvedPath = resolveSocketPath(timeout: 8.0, requiredWorkspaceId: tabId2) else {
guard let resolvedPath = resolveSocketPath(timeout: 20.0, requiredWorkspaceId: tabId2) else {
XCTFail("Control socket unavailable in this test environment. requested=\(socketPath)")
return
}
socketPath = resolvedPath
let pingResponse = waitForSocketPong(timeout: 8.0)
let pingResponse = waitForSocketPong(timeout: 20.0)
guard pingResponse == "PONG" else {
XCTFail("Control socket did not respond in time. path=\(socketPath) response=\(pingResponse ?? "<nil>")")
return