@Test
    void testSizeReductionValidationSelfhosted() {
        var tester = new ValidationTester(provisionerSelfHosted);

        VespaModel previous = tester.deploy(null, contentServices(10, null), zone, null, CONTAINER_CLUSTER).getFirst();
        try {
            tester.deploy(previous, contentServices(4, null), zone, null, CONTAINER_CLUSTER);
            fail("Expected exception due to resources reduction");
        }
        catch (IllegalArgumentException expected) {
            assertEquals("resources-reduction: Effective resource reduction in cluster 'default' is too large: " +
                         "group size from 10 to 4 nodes. " +
                         "To protect against mistakes, changes causing load increases of more than 100% are blocked. " +
                         ValidationOverrides.toAllowMessage(ValidationId.resourcesReduction),
                         Exceptions.toMessageString(expected));
        }
    }
Emulate a self-hosted setup in only the sense that it does not set node resources on the provisioned hosts.
config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/ResourcesReductionValidatorTest.java