@Override
        public NodeResources advertisedResourcesOf(Flavor flavor) {
            if (zone.cloud().dynamicProvisioning())
                return flavor.resources().withMemoryGiB(flavor.resources().memoryGiB());
            else
                return flavor.resources();
        }
Creates a single redeployment event with bogus data except for the given duration
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/DynamicProvisioningTester.java