@Test
  public void without_logFileSizeLimit_shouldNot_createMetaLogFile() {
    Properties config = createConfig();
    config.setProperty(LOG_FILE, logFile.getAbsolutePath());

    system = DistributedSystem.connect(config);

    File[] metaLogsMatched =
        dir.listFiles((dir, name) -> mainIdPattern.matcher(name).matches());
    assertThat(metaLogsMatched).hasSize(0);

    File metaLogFile = metaFile(12);
    assertThat(metaLogFile).doesNotExist();
  }
Integration tests for log rolling with {@link DistributedSystem} lifecycle.

@since GemFire 6.5
geode-core/src/integrationTest/java/org/apache/geode/logging/internal/api/LogRollingWithDistributedSystemIntegrationTest.java