Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testStartTime (0.05 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                    "Elapsed time difference should be at least 45ms (accounting for some timing variance)");
        }
    
        @Test
        @DisplayName("MonotonicClock start time should remain constant")
        void testStartTime() throws InterruptedException {
            Instant start1 = MonotonicClock.start();
            Thread.sleep(10);
            Instant start2 = MonotonicClock.start();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top