Changeset 19361 in josm


Ignore:
Timestamp:
2025-03-27T09:21:29+01:00 (8 weeks ago)
Author:
stoecker
Message:

Seems Windows has bad timing, it's often to fast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/testutils/MapModeUtils.java

    r19270 r19361  
    8282        MainApplication.getMap().mapMode.mousePressed(mouseClickAt(from));
    8383        // Some actions wait a period of time to avoid accidental dragging.
    84         Awaitility.await().pollDelay(Durations.FIVE_HUNDRED_MILLISECONDS).atLeast(490, TimeUnit.MILLISECONDS).until(() -> true);
     84        Awaitility.await().pollDelay(Durations.FIVE_HUNDRED_MILLISECONDS).atLeast(485, TimeUnit.MILLISECONDS).until(() -> true);
    8585        MainApplication.getMap().mapMode.mouseDragged(mouseClickAt(from));
    8686        MainApplication.getMap().mapMode.mouseDragged(mouseClickAt(to));
Note: See TracChangeset for help on using the changeset viewer.