@Bean
    public ArmeriaServerSmartLifecycle smartLifecycle(Server server) {
        return new RetryableArmeriaServerGracefulShutdownLifecycle(server, 8);
    }
A test configuration which retries to start the {@link Server} up to {@code 8} times.
spring/boot3-autoconfigure/src/test/java/com/linecorp/armeria/spring/RetryableArmeriaServerGracefulShutdownLifecycleConfiguration.java