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/gui/mappaint/mapcss/MapCSSStyleSourceFilterTest.java

    r8836 r9458  
    33
    44import org.junit.BeforeClass;
     5import org.junit.Rule;
    56import org.junit.Test;
     7import org.junit.rules.Timeout;
    68import org.openstreetmap.josm.JOSMFixture;
    79import org.openstreetmap.josm.PerformanceTestUtils;
     
    7880
    7981    /**
     82     * Global timeout applied to all test methods.
     83     */
     84    @Rule
     85    public Timeout globalTimeout = Timeout.seconds(15*60);
     86
     87    /**
    8088     * Prepare the test.
    8189     */
     
    142150        timer.done();
    143151    }
    144 
    145152}
Note: See TracChangeset for help on using the changeset viewer.