Skip to content

Commit

Permalink
Merge pull request #24548 from famod/ble-concurrency
Browse files Browse the repository at this point in the history
Guard `BasicLoggingEnabler` for concurrent test execution via `synchronized`
  • Loading branch information
famod authored Mar 25, 2022
2 parents a728d8c + 010e903 commit 851d236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class BasicLoggingEnabler implements BeforeAllCallback {
}

@Override
public void beforeAll(ExtensionContext context) {
public synchronized void beforeAll(ExtensionContext context) {
if (enabled == null) {
enabled = context.getConfigurationParameter(CFGKEY_ENABLED).map(Boolean::valueOf).orElse(Boolean.TRUE);
}
Expand Down

0 comments on commit 851d236

Please sign in to comment.