Skip to content

Commit

Permalink
Merge pull request #44 from bf2fc6cc711aee1a0c2a/k-wall-patch-1
Browse files Browse the repository at this point in the history
fix flakey tests - turn off parallel tests for surefire & fix partitioncounter leak in test
  • Loading branch information
k-wall authored Jul 5, 2022
2 parents f95b036 + 602ae02 commit 4c12207
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<useUnlimitedThreads>false</useUnlimitedThreads>
<forkCount>1</forkCount>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void setup() {
@AfterEach
void tearDown() {
policy.close();
disabledPolicy.close();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ kas.authorizer.acl.logging.006=topic=important_topic;level=WARN
kas.policy.shared-admin.adminclient-listener.name=controlplane
kas.policy.shared-admin.adminclient-listener.port=9090
kas.policy.shared-admin.adminclient-listener.protocol=PLAINTEXT

# Override suppression window (tests control use explicit invalidation)
kas.authorizer.acl.logging.suppressionWindow.duration=PT5M

0 comments on commit 4c12207

Please sign in to comment.