Changeset 8962 in josm for trunk/test/unit


Ignore:
Timestamp:
2015-10-27T23:37:53+01:00 (9 years ago)
Author:
Don-vip
Message:

Double connect/read timeouts in presets validation unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreferenceTest.java

    r8959 r8962  
    4141                .loadAndGetAvailableSources();
    4242        assertFalse(sources.isEmpty());
     43        // Double traditional timeouts to avoid random problems
     44        Main.pref.putInteger("socket.timeout.connect", 30);
     45        Main.pref.putInteger("socket.timeout.read", 60);
    4346        Collection<Throwable> allErrors = new ArrayList<>();
    4447        Set<String> allMessages = new HashSet<>();
Note: See TracChangeset for help on using the changeset viewer.