Skip to content

[tests] RecordTest.DeskCase_83099_InmutableDictionary is flaky on macOS CI #24860

@rolfbjarne

Description

@rolfbjarne

The test MonoTouchFixtures.Security.RecordTest.DeskCase_83099_InmutableDictionary is flaky on macOS CI machines.

Failure

The test fails intermittently with:

Password could not be saved to keychain. queryCode: ItemNotFound addCode: DuplicateItem updateCode: -1
Expected: True
But was: False

The keychain reports DuplicateItem when adding, but ItemNotFound when querying — indicating inconsistent keychain state on the CI machine.

Recent occurrence

Possible fixes

  • Clean up the keychain entry before/after the test to avoid stale state from previous runs.
  • Repeat the test a few times to see if it eventually passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIf an issue is a bug or a pull request a bug fixtestsAnything related to tests

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions