Fix flaky tests in search index modal

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • None
    • Developer Tools

      We've had to temporarily disable two tests in packages/compass-indexes/src/components/search-indexes-modals/base-search-index-modal.spec.tsx.

      The tests were flaky because there is a race condition with the updates in CodeMirror (we do scheduled updates, also CodeMirror itself is doing some async operation like linting) - so we'd run into a state where it runs an operation on content that's already changed:
      https://parsley.corp.mongodb.com/evergreen/10gen_compass_main_unit_tests_rhel_test_373c7aa79339c50ef1afdd7cca9337c52eae1603_26_02_17_14_26_36/0/task?bookmarks=0,65530&selectedLineRange=L65313

            Assignee:
            Unassigned
            Reporter:
            Paula Stachova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: