Skip to content

Commit

Permalink
Merge pull request #46346 from aloubyansky/prioritize-test-model-cach…
Browse files Browse the repository at this point in the history
…e-over-dev

Prioritize test model cache over the dev one in BootstrapAppModelFactory
  • Loading branch information
geoand authored Feb 19, 2025
2 parents 79c75be + e33844a commit f054455
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,12 @@ private CurationResult createAppModelForJarOrNull(Path appArtifactPath) {
}

private Path resolveCachedCpPath(LocalProject project) {
if (devMode) {
return BootstrapUtils.resolveSerializedAppModelPath(project.getOutputDir());
}
if (test) {
return BootstrapUtils.getSerializedTestAppModelPath(project.getOutputDir());
}
if (devMode) {
return BootstrapUtils.resolveSerializedAppModelPath(project.getOutputDir());
}
return project.getOutputDir().resolve(QUARKUS).resolve(BOOTSTRAP).resolve(APP_MODEL_DAT);
}

Expand Down

0 comments on commit f054455

Please sign in to comment.