Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: quarkusio/quarkus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 99b933c5aad86085e3d7874120cb0dd42b019254
Choose a base ref
..
head repository: quarkusio/quarkus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2f9c7bbccfe3223ccd7728b50d0fb24eb26921d6
Choose a head ref
Showing with 0 additions and 2 deletions.
  1. +0 −2 test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusDevModeTest.java
Original file line number Diff line number Diff line change
@@ -661,14 +661,12 @@ public void modifyResourceFile(String path, Function<String, String> mutator) {
*/
public void addResourceFile(String path, byte[] data) {
final Path resourceFilePath = deploymentResourcePath.resolve(path);
long old = modTime(resourceFilePath);
long oldParent = modTime(resourceFilePath.getParent());
try {
Files.write(resourceFilePath, data);
} catch (IOException e) {
throw new UncheckedIOException(e);
}
sleepForFileChanges(resourceFilePath, old);
// since this is a new file addition, even wait for the parent dir's last modified timestamp to change
sleepForFileChanges(resourceFilePath.getParent(), oldParent);
}