Skip to content

Commit 7741ce6

Browse files
committed
Remove unnecessary flags in AppenderFileHandleLeakTest
1 parent f3d256e commit 7741ce6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/java/net/openhft/chronicle/queue/impl/single/AppenderFileHandleLeakTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private void tailerResourcesCanBeReleasedManually0() throws InterruptedException
162162

163163
@Test
164164
public void tailerShouldReleaseFileHandlesAsQueueRolls() throws InterruptedException {
165-
finishedNormally = false;
165+
166166
System.gc();
167167
Thread.sleep(100);
168168
final int messagesPerThread = 10;
@@ -206,7 +206,6 @@ public void tailerShouldReleaseFileHandlesAsQueueRolls() throws InterruptedExcep
206206
}
207207

208208
Assert.assertTrue(queueFilesAreAllClosed());
209-
finishedNormally = true;
210209
}
211210

212211
@Test

0 commit comments

Comments
 (0)