Skip to content

Potential fix for flaky spec in resolve discussions spec

Stan Hu requested to merge sh-fix-issue-341546 into master

What does this MR do and why?

The user_resolves_diff_notes_and_discussions_resolve_spec.rb feature spec in may be flaky because the test attempts to:

  1. Resolve a thread
  2. Reply to a thread to unresolve it
  3. Confirm that the thread has been unresolved

There may be a race condition between steps 1 and 2. The test should wait for the discussion to be resolved before attempting to write a new note.

Relates to #341546 (closed)

Edited by Stan Hu

Merge request reports

Loading