Skip to content

Found a flaky test #631

Closed
Closed

Description

@hannesa2

I run into a flaky test https://github.com/gitx/gitx/actions/runs/34750376507/job/103705883239?pr=625

/Users/runner/work/gitx/gitx/GitXTests/PBGitIndexRefreshTests.m:178: error: -[PBGitIndexRefreshTests testACommandResultDoesNotAnnounceAnIndexUpdate] : Asynchronous wait failed: Exceeded timeout of 1 seconds, with unfulfilled expectations: "Expect notification 'PBGitIndexIndexRefreshStatus' from <PBRecordingIndex: 0xb65f33f00>".

It's a flaky CI timing issue: postIndexRefreshSuccess: posts via dispatch_async(main queue, …), and the test's waitForExpectations:timeout:1.0 is tight on a loaded CI runner

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions