@Ignore
    @Test
    public void updateExistingData() {
        String dataDir = createEmptyDataDir("QuestMetricsDbExistingData", "metrics");
        ManualClock clock = new ManualClock("2020-10-01T00:00:00");
        QuestMetricsDb db = new QuestMetricsDb(dataDir, clock);
        Instant startTime = clock.instant();
        db.addNodeMetrics(nodeTimeseries(10, Duration.ofSeconds(1), clock, "host1"));

        int added = db.getNodeTimeseries(Duration.between(startTime, clock.instant()),
                                         Set.of("host1")).get(0).asList().size();
        System.out.println("Added " + added + " rows of data");
        db.close();
    }
To update data for the manual test above
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/QuestMetricsDbTest.java