@Override
    public void run() {
        Optional<RoutingTable> table = tableSupplier.get();
        table.ifPresent(this::reportHealth);
        reportConfigAge();
    }
@Test
    public void config_age_metric() throws Exception {
        reporter.run();
        // No files exist
        assertEquals(0D, getMetric(NginxMetricsReporter.CONFIG_AGE_METRIC), Double.MIN_VALUE);

        // Only temporary file exists
        Path configRoot = fileSystem.getPath("/opt/vespa/var/vespa-hosted/routing/");
        Path tempFile = configRoot.resolve("nginxl4.conf.tmp");
        createFile(tempFile, Instant.ofEpochSecond(123));
        reporter.run();
        assertEquals(123D, getMetric(NginxMetricsReporter.CONFIG_AGE_METRIC), Double.MIN_VALUE);

        // Only main file exists
        Files.delete(tempFile);
        createFile(configRoot.resolve("nginxl4.conf"), Instant.ofEpochSecond(456));
        reporter.run();
        assertEquals(0D, getMetric(NginxMetricsReporter.CONFIG_AGE_METRIC), Double.MIN_VALUE);

        // Both files exist
        createFile(tempFile, Instant.ofEpochSecond(123));
        reporter.run();
        assertEquals(333D, getMetric(NginxMetricsReporter.CONFIG_AGE_METRIC), Double.MIN_VALUE);
    }