@Override
    public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context) {
        Optional<DisabledInInstances> annotation = AnnotationUtils.findAnnotation(context.getElement(), DisabledInInstances.class);
        if (annotation.isEmpty())
            return ConditionEvaluationResult.enabled(DisabledInInstances.class.getSimpleName() + " is not present");

        List<String> disablingInstances = List.of(annotation.get().value());
        String thisInstance = TestRuntime.get().application().instance();
        String reason = "Disabled in: %s. Current instance: %s.".formatted(disablingInstances.isEmpty() ? "no instances" : "instances " + String.join(", ", disablingInstances), thisInstance);
        return disablingInstances.contains(thisInstance) ? ConditionEvaluationResult.disabled(reason) : ConditionEvaluationResult.enabled(reason);
    }
One or more instances that this should be disabled in.
tenant-cd-api/src/main/java/ai/vespa/hosted/cd/DisabledInInstances.java