lemminx icon indicating copy to clipboard operation
lemminx copied to clipboard

Stabilize two test that seem to often fail on the CI

Open laeubi opened this issue 11 months ago • 2 comments

  • Use a timeout instead of static wait times
  • retry diagnostics
  • use a copy of the current state

This also reduces the test time from 5 sec to less than a second for the

TimeUnit.SECONDS.sleep(5); // HACK: to make the timing work on slow machines

laeubi avatar Nov 10 '24 17:11 laeubi