  @Test
  void vacuumWithFilesThatShouldNotBeScheduled() throws TException, IOException {

    initialiseApp();
    setPartitionedTable("partition1_");

    // create hidden directories
    Files.createTempDirectory(snapshot1Dir, ".hidden1_");
    Files.createTempDirectory(snapshot1Dir, "_hidden2_");
    // create directories at levels that shouldn't be seen
    Files.createTempDirectory(tableDir, "snapshot3_");

    application.run(args);
    // paths scheduled are the same as the ones in 'typicalRunPartitioned'
    verify(schedulerService, times(2)).scheduleForHousekeeping(housekeepingPath.capture());
    assertThat(assertBytesLogged(14)).isTrue();
  }