[MNG-7976] Investigate MNG-6127 IT instability (#1422)

Signed-off-by: crazyhzm <crazyhzm@apache.org>
This commit is contained in:
huazhongming 2024-02-28 15:46:36 +08:00 committed by GitHub
parent 83949a7384
commit ab6ec5bd74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class DefaultLifecycleMapping implements LifecycleMapping {
/**
* Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done).
*/
private void initLifecycleMap() {
private synchronized void initLifecycleMap() {
if (lifecycleMap == null) {
lifecycleMap = new HashMap<>();