@Test
        @DirtiesContext
        void immediateConnectDisabled() {
            assumeTrue(channel instanceof ManagedChannel,
                    "To run this test channel must be ManagedChannel");
            ManagedChannel managedChannel = (ManagedChannel) channel;

            ConnectivityState state = managedChannel.getState(false);
            assertEquals(
                    "When immediateConnectTimeout property is set to zero or unset grpc must not attempt to connect until first request",
                    ConnectivityState.IDLE, state);
        }
These tests check the property {@link GrpcChannelProperties#getImmediateConnectTimeout()}. They check for
backwards-compatibility when this property didn't existed and various cases when it's enabled (for successful
connection and failed one).
tests/src/test/java/net/devh/boot/grpc/test/setup/ImmediateConnectTests.java