Repository navigation
test(example): 💍 wait for the load answers, not one main-queue turn - #47
Conversation
testLoadPoliciesOrderTheCacheAndTheServer waited one main-queue turn for 5 s and failed on a slow macOS runner (258 tests in 245 s): only the cache answer had arrived. It now waits for the expected number of answers with a 30 s timeout, and an extra answer still fails the test. By @ChenYilong <luohanchenyilong@163.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017y7XP2P2UnTvzHG1KZL67A
|
SwiftPM build is red, but not because of this PR. This PR only changes one example test ( The failure: Root cause: in that mirror, target Proposed fix (in CYLTabBarController, then a new mirror tag): either remove that Generated by Claude Code |
Summary
Fixes the real failure in the recent iOS CI runs:
CYLTagListEditingTests.testLoadPoliciesOrderTheCacheAndTheServer(Unit tests (example), run 46886461286) waited one main-queue turn with a 5 s timeout. On a slow macOS runner, only the cache answer had arrived by then.expectedFulfillmentCount) with a 30 s timeout; an extra answer still fails it.waitForDeliveryhelper's timeout is 30 s.The other red runs had no code failure:
82a42dfccame from the old revision pin; master's SwiftPM job passes withfrom: "1.100.1".Verified here: the file parses (
swiftc -parse). The test itself runs only on macOS, so this PR's Unit tests (example) job is the check.Generated by Claude Code