@Test
    public void testNoRedeploy() {
        List<ModelFactory> modelFactories = List.of(createModelFactory(Clock.systemUTC()),
                                                    createFailingModelFactory(Version.fromString("1.0.0")));
        DeployTester tester = new DeployTester.Builder(temporaryFolder).modelFactories(modelFactories).build();
        ApplicationId id = ApplicationId.from(tester.tenant().getName(),
                                              ApplicationName.from("default"),
                                              InstanceName.from("default"));
        assertFalse(tester.redeployFromLocalActive(id).isPresent());
    }
No deployment is done because there is no local active session.
configserver/src/test/java/com/yahoo/vespa/config/server/deploy/RedeployTest.java