Ignore:
Timestamp:
2016-01-15T02:11:39+01:00 (6 years ago)
Author:
Don-vip
Message:

timeouts for unit/performance tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/io/OsmReaderPerformanceTest.java

    r9457 r9458  
    1111
    1212import org.junit.BeforeClass;
     13import org.junit.Rule;
    1314import org.junit.Test;
     15import org.junit.rules.Timeout;
    1416import org.openstreetmap.josm.JOSMFixture;
    1517import org.openstreetmap.josm.PerformanceTestUtils;
     
    2931    private static final int TIMES = 4;
    3032    private static String DATA_FILE = "data_nodist/neubrandenburg.osm.bz2";
     33
     34    /**
     35     * Global timeout applied to all test methods.
     36     */
     37    @Rule
     38    public Timeout globalTimeout = Timeout.seconds(15*60);
    3139
    3240    /**
Note: See TracChangeset for help on using the changeset viewer.