Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRapidCalls (0.54 sec)

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

                        "Elapsed time should match calculated duration between start and now");
            }
        }
    
        @Test
        @DisplayName("MonotonicClock should handle rapid successive calls")
        void testRapidCalls() {
            Instant[] instants = new Instant[1000];
            for (int i = 0; i < instants.length; i++) {
                instants[i] = MonotonicClock.now();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top