Skip to content

Commit

Permalink
+ fix: stop elf4j after each test so logs show up completely
Browse files Browse the repository at this point in the history
  • Loading branch information
q3769 committed Jun 11, 2023
1 parent 4cd27b7 commit a02522a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<groupId>io.github.q3769</groupId>
<artifactId>semver-maven-plugin</artifactId>
<version>20221011.20230506.20230608</version>
<version>20221011.20230506.20230611</version>
<packaging>maven-plugin</packaging>

<name>semver-maven-plugin</name>
Expand Down Expand Up @@ -198,7 +198,7 @@
<plugin>
<groupId>io.github.q3769</groupId>
<artifactId>semver-maven-plugin</artifactId>
<version>20221011.20230506.20230608</version>
<version>20221011.20230506.20230611</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
7 changes: 7 additions & 0 deletions src/test/java/q3769/maven/plugins/semver/mojos/MergeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

import com.github.zafarkhaja.semver.Version;
import elf4j.Logger;
import elf4j.engine.service.LogServiceManager;
import org.apache.maven.plugin.MojoFailureException;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import q3769.maven.plugins.semver.SemverCategory;
Expand All @@ -40,6 +42,11 @@ class MergeTest {

Merge mergeMojo = new Merge();

@AfterAll
static void cleanup() {
LogServiceManager.INSTANCE.stop();
}

@Nested
class update {
@Test
Expand Down

0 comments on commit a02522a

Please sign in to comment.