Repository navigation
Closed
flutter/packages
#13213Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Summary
On Mac_arm64 ios_platform_tests_shard_3, the native test step of in_app_purchase_storekit sometimes fails because most of the InAppPurchase2PluginTests (StoreKit2) suite times out. The SKTestSession purchase never completes, so the purchase expectation is never fulfilled and the test times out after 5 seconds. In a single run, 18 tests failed this way.
It happens on both the master and stable channels, in presubmit and postsubmit. Retrying on the same commit passes. None of the commits it failed on touch in_app_purchase_storekit.
This may be the same bug as #184678 or #184678. Both show the same unfulfilled "Purchase request should succeed" expectation.
Failure signature
InAppPurchaseStoreKit2PluginTests.swift:222: error: -[RunnerTests.InAppPurchase2PluginTests testSuccessfulPurchase] :
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "Purchase request should succeed".
InAppPurchaseStoreKit2PluginTests.swift:424: error: -[RunnerTests.InAppPurchase2PluginTests testRestoreProductSuccess] :
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "Purchase request should succeed".
...
** TEST FAILED **
Regex to find occurrences:
InAppPurchase2PluginTests test\w+\] : Asynchronous wait failed
Occurrences
Postsubmit: failed, then passed on retry on the same commit
| Failed build | Date | Commit | Log |
|---|---|---|---|
| stable #4707 | 2026-09-21 | flutter/packages@ac3e77c (flutter/packages#12944) | raw |
| stable #4628 | 2026-09-08 | flutter/packages@a26b623 (flutter/packages#12789) | raw |
Presubmit (master)
| Build | Date | PR | Log |
|---|---|---|---|
| #31039 | 2026-09-25 | flutter/packages#13017 (Flutter roll) | raw |
| #30948 | 2026-09-22 | flutter/packages#12977 (Flutter roll) | raw |
| #30903 | 2026-09-21 | flutter/packages#10753 (CI gold testing) | raw |
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Activity
[in_app_purchase_storekit] Disable flaky tests blocking latest flutte…
Piinks commentedon Sep 29, 2026
This flake has been disabled
[in_app_purchase_storekit] Fixes Storekit 2 flaky tests (#13213)
github-actions commentedon Oct 28, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.