Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Tests: workaround Swift runtime crash #2826

Merged
merged 1 commit into from
Jul 18, 2023

Commits on Jul 17, 2023

  1. Integration Tests: workaround Swift runtime crash

    Looks like #2806 didn't work.
    I still see this race-condition crash:
    ```
    Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
    0   libswiftCore.dylib            	       0x10bc64589 swift::runtime::AccessSet::insert(swift::runtime::Access*, void*, void*, swift::ExclusivityFlags) + 73
    1   libswiftCore.dylib            	       0x10bc647e2 swift_beginAccess + 66
    2   BackendIntegrationTests       	       0x13ab37c76 default argument 1 of Expectation.toEventually(_:timeout:pollInterval:description:) + 54
    3   BackendIntegrationTests       	       0x13ab37b44 closure #1 in BaseBackendIntegrationTests.verifyPurchasesDoesNotLeak() + 276 (BaseBackendIntegrationTests.swift:167)
    ```
    
    This slight refactor matches the implementation in `BasePurchasesTests`, and I haven't the crash there. So hopefully this will work.
    NachoSoto committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    f5e52b4 View commit details
    Browse the repository at this point in the history