Changeset 14566 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2018-12-16T15:00:44+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java
r14564 r14566 73 73 @Rule 74 74 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 75 public JOSMTestRules test = new JOSMTestRules().https().preferences().projection().projectionNadGrids().timeout(10000*120); 75 public JOSMTestRules test = new JOSMTestRules().https().preferences().projection().projectionNadGrids() 76 .timeout((int) TimeUnit.MINUTES.toMillis(40)); 76 77 77 78 private final Map<String, Map<ImageryInfo, List<String>>> errors = Collections.synchronizedMap(new TreeMap<>()); … … 106 107 Response response = HttpClient.create(new URL(url)) 107 108 .setHeaders(info.getCustomHttpHeaders()) 108 .setConnectTimeout((int) TimeUnit. SECONDS.toMillis(30))109 .setReadTimeout((int) TimeUnit. SECONDS.toMillis(60))109 .setConnectTimeout((int) TimeUnit.MINUTES.toMillis(1)) 110 .setReadTimeout((int) TimeUnit.MINUTES.toMillis(2)) 110 111 .connect(); 111 112 if (response.getResponseCode() >= 400) {
Note:
See TracChangeset
for help on using the changeset viewer.