Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startupDurations (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        ServiceManager serviceManager = new ServiceManager(asList(a, b));
        serviceManager.startAsync().awaitHealthy();
        ImmutableMap<Service, Duration> startupTimes = serviceManager.startupDurations();
        assertThat(startupTimes).hasSize(2);
        assertThat(startupTimes.get(a)).isAtLeast(Duration.ofMillis(150));
        assertThat(startupTimes.get(b)).isAtLeast(Duration.ofMillis(353));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top