@Before
  public void setUp() {
    String name = testName.getMethodName();
    file = new File(temporaryFolder.getRoot(), name + "-main.log");

    lines = new ArrayList<>();
    for (int i = 1; i <= 10; i++) {
      lines.add("Line-" + i);
    }
  }
Integration tests to confirm that writing to file system works properly in stressTest
geode-core/src/integrationTest/java/org/apache/geode/logging/internal/FileSystemCanaryIntegrationTest.java