Skip to content

Commit

Permalink
Fix DynamicPolicyTest.continueCurrentFile
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 authored Apr 21, 2022
1 parent c762510 commit ebf38b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public final class DynamicPolicyTest {
public final SystemStreamCollector systemStream = new SystemStreamCollector(true);

/**
* Verifies that an existing log file can be continued until triggering a manual reset.
* Verifies that an existing log file will always be continued.
*
* @throws IOException
* Failed creating temporary file
*/
@Test
public void discontinueExistingFile() throws IOException {
public void continueExistingFile() throws IOException {
String file = FileSystem.createTemporaryFile();
DynamicPolicy policy = new DynamicPolicy(null);
assertThat(policy.continueExistingFile(file)).isTrue();
Expand Down

0 comments on commit ebf38b0

Please sign in to comment.