Reduce number of RewardedAd loads on iOS in CI - #1180
Merged
Conversation
DellaBitta
commented
Jan 3, 2023
| // Loading Ads has been deemed flaky as the AdMob Service has a chance to | ||
| // return NoFill for valid ad requests if there aren't any ads to serve. | ||
| FLAKY_TEST_SECTION_BEGIN(); | ||
|
|
Contributor
Author
There was a problem hiding this comment.
The flakiness stemmed from NoFill error when the service runs out of Ads to serve. Being in a state of NoFill often takes a lot longer to recover from than our Flaky Test retry timeout, and so the flaky test block causes more problems than it solves by 1: retesting and getting the same result, and 2: pushing the service into backoff mode if too many NoFill errors are generated.
chkuang-g
approved these changes
Jan 3, 2023
❌ Integration test FAILEDRequested by @DellaBitta on commit e61d6bb
Add flaky tests to go/fpl-cpp-flake-tracker |
tom-andersen
pushed a commit
that referenced
this pull request
Jan 30, 2023
The GMA backend doesn't whitelist iOS devices running in CI which means number of ads that can be served to iOS in CI is restricted. This is true even when using the prescribed Demo Ad Unit Id. This PR reduces the number of ads we load on iOS in an attempt to minimize the chance of encountering NoFillErrors and push our CI to green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The GMA backend doesn't whitelist iOS devices running in CI which means number of ads that can be served to iOS in CI is restricted. This is true even when using the prescribed Demo Ad Unit Id.
This PR reduces the number of ads we load on iOS in an attempt to minimize the chance of encountering NoFillErrors and push our CI to green.
Notes:
Testing
Integration Test CI
Type of Change
Place an
xthe applicable box: