@Test
    public void activate_after_reservation_timeout() {
        ProvisioningTester tester = new ProvisioningTester.Builder().zone(new Zone(Environment.prod, RegionName.from("us-east"))).build();

        tester.makeReadyHosts(10, defaultResources).activateTenantHosts();
        ApplicationId application = ProvisioningTester.applicationId();
        SystemState state = prepare(application, 2, 2, 3, 3, defaultResources, tester);

        // Simulate expiry
        tester.deactivate(application);

        try {
            tester.activate(application, state.allHosts);
            fail("Expected exception");
        }
        catch (RuntimeException e) {
            assertTrue(e.getMessage().startsWith("Activation of " + application + " failed"));
        }
    }
Test always uses the zone default resources
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTest.java