Changeset 15135 in josm


Ignore:
Timestamp:
2019-05-29T01:16:57+02:00 (5 months ago)
Author:
Don-vip
Message:

Increase traditional timeouts to avoid random problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/data/imagery/ImageryCompareTestIT.java

    r13203 r15135  
    88import org.junit.Rule;
    99import org.junit.Test;
     10import org.openstreetmap.josm.spi.preferences.Config;
    1011import org.openstreetmap.josm.testutils.JOSMTestRules;
    1112import org.openstreetmap.josm.tools.HttpClient;
     
    3536    @Test
    3637    public void testImageryEntries() throws Exception {
     38        // Increase traditional timeouts to avoid random problems
     39        Config.getPref().putInt("socket.timeout.connect", 60);
     40        Config.getPref().putInt("socket.timeout.read", 90);
    3741        System.out.println("Displaying only red entries. The test fails if at least one is found");
    3842        boolean rubricDisplayed = false;
Note: See TracChangeset for help on using the changeset viewer.