Skip to content

Flaky unit test DateWooTests.testUpdateStringWorksForIntervalsOneDayOrLess #12266

@jaclync

Description

@jaclync
  • CI build
  • Failed twice on the same day (March 11), fixed on the next day (March 12). It might be related to the daylight saving change
  • Passed locally
  • The test case uses the current date Date
  • Message:
testUpdateStringWorksForIntervalsOneDayOrLess() in DateWooTests
XCTAssertEqual failed: ("Updated on Mar 10, 2024 at 1:15 AM") is not equal to ("Updated 23 hours ago") (/opt/ci/builds/builder/automattic/woocommerce-ios/WooCommerce/WooCommerceTests/Extensions/DateWooTests.swift#EndingLineNumber=84&StartingLineNumber=84)

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