Skip to content

Tests: increased default logger capacity#2870

Merged
NachoSoto merged 1 commit into
mainfrom
logger-limit
Jul 24, 2023
Merged

Tests: increased default logger capacity#2870
NachoSoto merged 1 commit into
mainfrom
logger-limit

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

We get failures due to this sometimes in Integration Tests (https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/13272/workflows/112808d6-7292-4a58-8530-7e499fe9d91f/jobs/95055/tests).
I noticed that it's mostly because of ReceiptRefreshPolicy.retryUntilProductIsFound, where we log the receipt multiple times as we wait for the product to be found.

We get failures due to this sometimes in `Integration Tests` (https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/13272/workflows/112808d6-7292-4a58-8530-7e499fe9d91f/jobs/95055/tests).
I noticed that it's mostly because of `ReceiptRefreshPolicy.retryUntilProductIsFound`, where we log the receipt multiple times as we wait for the product to be found.
@NachoSoto NachoSoto added the test label Jul 24, 2023
@NachoSoto NachoSoto requested a review from a team July 24, 2023 13:16
@codecov

codecov Bot commented Jul 24, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2870 (0d56ddc) into main (736ac3f) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2870      +/-   ##
==========================================
+ Coverage   86.52%   86.55%   +0.02%     
==========================================
  Files         217      217              
  Lines       15520    15520              
==========================================
+ Hits        13429    13433       +4     
+ Misses       2091     2087       -4     

see 5 files with indirect coverage changes

@NachoSoto NachoSoto enabled auto-merge (squash) July 24, 2023 18:05
@NachoSoto NachoSoto merged commit 22de309 into main Jul 24, 2023
@NachoSoto NachoSoto deleted the logger-limit branch July 24, 2023 22:03
NachoSoto added a commit that referenced this pull request Jul 26, 2023
**This is an automatic release.**

_This release is compatible with Xcode 15 beta 5 and visionOS beta 2_

### Bugfixes
* `xrOS`: fixed `SubscriptionStoreView` for visionOS beta 2 (#2884) via
Josh Holtz (@joshdholtz)
### Performance Improvements
* `Perf`: update `CustomerInfo` cache before anything else (#2865) via
NachoSoto (@NachoSoto)
### Other Changes
* `SimpleApp`: added support for localization (#2880) via NachoSoto
(@NachoSoto)
* `TestStoreProduct`: made available on release builds (#2861) via
NachoSoto (@NachoSoto)
* `Tests`: increased default logger capacity (#2870) via NachoSoto
(@NachoSoto)
* `CustomEntitlementComputation`: removed `invalidateCustomerInfoCache`
(#2866) via NachoSoto (@NachoSoto)
* `SimpleApp`: updates for TestFlight compatibility (#2862) via
NachoSoto (@NachoSoto)
* `BasePurchasesTests`: consolidate to only initialize one `DeviceCache`
(#2863) via NachoSoto (@NachoSoto)
* `Codable`: debug log entire JSON when decoding fails (#2864) via
NachoSoto (@NachoSoto)
* `IntegrationTests`: replaced `Purchases.shared` with a `throw`ing
property (#2867) via NachoSoto (@NachoSoto)
* `NetworkError`: 2 new tests to ensure underlying error is included in
description (#2843) via NachoSoto (@NachoSoto)
* Add SPM `Package.resolved` for Xcode Cloud (#2844) via NachoSoto
(@NachoSoto)
* `CustomEntitlementComputation`: added integration test for
cancellations (#2849) via NachoSoto (@NachoSoto)
* `CustomEntitlementComputation`: removed
`syncPurchases`/`restorePurchases` (#2854) via NachoSoto (@NachoSoto)

---------

Co-authored-by: NachoSoto <ignaciosoto90@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants