From 0eeb61024f31fb81c829ec99c4e822c5d5ece35a Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 11 Jun 2021 09:41:22 +0300 Subject: [PATCH] Prevent unlikely NoSuchElementException in continuous testing Fixes: #17824 --- .../java/io/quarkus/deployment/dev/testing/JunitTestRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java index 20927d810aed1..d13feac68e908 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java @@ -268,6 +268,7 @@ public void executionSkipped(TestIdentifier testIdentifier, String reason) { } } } + touchedClasses.push(Collections.synchronizedSet(new HashSet<>())); } @Override