flutter / flutter/flutter

in_app_purchase iOS native plugin tests are flaky

Open
#174,478 3 comments 1 reaction 1 assignee Claimed by @LouiseHsu View on GitHub
:hourglass_flowing_sand: p: in_app_purchase P2 package platform-ios team-ios triaged-ios
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

```
"testDiscountedProductSuccess()" in RunnerTests failed with:
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "Purchase request should succeed".

"testDiscountedSubscriptionSuccess()" in RunnerTests failed with:
Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "Purchase request should succeed".
```
Log:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8705574999958128353/+/u/Run_package_tests/native_test/stdout

xcresult:
https://storage.googleapis.com/flutter_logs/flutter/2882e3cc-24c5-4f8c-8c58-810b429263a0/drive%20examples/2882e3cc-24c5-4f8c-8c58-810b429263a0/xcodebuild-2025-08-25T02:36:00.840151.zip

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.