diff --git a/dataset/GitHub_Java/quarkusio.quarkus/core/devmode/src/main/java/io/quarkus/dev/RuntimeUpdatesProcessor.java b/dataset/GitHub_Java/quarkusio.quarkus/core/devmode/src/main/java/io/quarkus/dev/RuntimeUpdatesProcessor.java index 0fc568faf0d..9823f05f951 100644 --- a/dataset/GitHub_Java/quarkusio.quarkus/core/devmode/src/main/java/io/quarkus/dev/RuntimeUpdatesProcessor.java +++ b/dataset/GitHub_Java/quarkusio.quarkus/core/devmode/src/main/java/io/quarkus/dev/RuntimeUpdatesProcessor.java @@ -295,9 +295,6 @@ private Set checkForFileChange() { continue; } Path root = Paths.get(rootPath); - if (!Files.exists(root) || !Files.isReadable(root)) { - continue; - } Path classesDir = Paths.get(module.getClassesPath()); //copy all modified non hot deployment files over if (doCopy) { diff --git a/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java b/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java index 305f2d0899e..200344462c5 100644 --- a/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java +++ b/dataset/GitHub_Java/quarkusio.quarkus/integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java @@ -11,7 +11,6 @@ import java.util.UUID; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; -import java.util.stream.IntStream; import org.apache.commons.io.FileUtils; import org.apache.maven.shared.invoker.MavenInvocationException; @@ -44,17 +43,6 @@ public void testThatClassAppCanRun() throws MavenInvocationException, IOExceptio assertThatOutputWorksCorrectly(running.log()); } - @Test - public void testThatResteasyWithoutUndertowCanRun() throws MavenInvocationException, IOException { - testDir = initProject("projects/classic-no-undertow", "projects/project-classic-no-undertow-run"); - run(); - - //make sure that a simple HTTP GET request always works - IntStream.range(0, 10).forEach(i -> { - assertThat(getStrictHttpResponse("/hello", 200)).isTrue(); - }); - } - @Test public void testThatTheApplicationIsReloadedOnJavaChange() throws MavenInvocationException, IOException { testDir = initProject("projects/classic", "projects/project-classic-run-java-change"); @@ -339,31 +327,6 @@ public void testThatAddingConfigFileWorksCorrectly() throws MavenInvocationExcep .until(() -> getHttpResponse("/app/hello/greeting").contains(uuid)); } - @Test - public void testThatExternalConfigOverridesConfigInJar() throws MavenInvocationException, IOException { - testDir = initProject("projects/classic", "projects/project-classic-external-config"); - File configurationFile = new File(testDir, "target/config/application.properties"); - assertThat(configurationFile).doesNotExist(); - - String uuid = UUID.randomUUID().toString(); - - FileUtils.write(configurationFile, - "greeting=" + uuid, - "UTF-8"); - await() - .pollDelay(1, TimeUnit.SECONDS) - .pollInterval(1, TimeUnit.SECONDS) - .until(configurationFile::isFile); - - run(); - - // Wait until we get "uuid" - await() - .pollDelay(1, TimeUnit.SECONDS) - .atMost(10, TimeUnit.SECONDS) - .until(() -> getHttpResponse("/app/hello/greeting").contains(uuid)); - } - @Test public void testThatNewResourcesAreServed() throws MavenInvocationException, IOException { testDir = initProject("projects/classic", "projects/project-classic-run-resource-change");