Skip to content

Flaky StoreStatsPeriodViewModelTests #10467

Open
@iamgabrielma

Description

@iamgabrielma

I haven't seen this in CI on my end, but it's common to see the following tests failing locally:

test_visitorStatsText_is_emitted_after_summary_stats_updated(): 
XCTAssertEqual failed: ("["-"]") is not equal to ("["-", "22"]")
test_conversionStatsText_is_emitted_after_order_and_summary_stats_updated(): 
XCTAssertEqual failed: ("["-"]") is not equal to ("["-", "20%"]")

Since those variables are catching observable's emitted values, it could be some sort of race condition when attempting to compare these with what's inserted in storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions