Skip to content

Commit

Permalink
Merge pull request #11959 from unoplatform/dev/xygu/20230412/adjust-f…
Browse files Browse the repository at this point in the history
…laky-macos-test
  • Loading branch information
Xiaoy312 authored Apr 13, 2023
2 parents 704b7dc + 4491b76 commit d077eaf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,10 @@ private void SetAsRootAndWaitForColorSpectrumFill(FrameworkElement element)
Content.UpdateLayout();
});

spectrumLoadedEvent.WaitOne();
if (!spectrumLoadedEvent.WaitOne(timeout: TimeSpan.FromSeconds(10)))
{
Assert.Fail("Timeout waiting on SpectrumRectangle.Fill to be set.");
}
}
}

Expand Down

0 comments on commit d077eaf

Please sign in to comment.