Skip to content

Commit

Permalink
test: prevent reusing dev-server (#976)
Browse files Browse the repository at this point in the history
Quarkus tests reuse the same application instance, unless tests define
different profiles or test resources. However, the JVM is always the same
and Flow reuses the existing dev server instance.
This can cause errors when the application is restarted if frontend files
are forcibly deleted.
This change make sure that the dev server is always stopped and restarted.
  • Loading branch information
mcollovati authored Sep 28, 2024
1 parent 5ac3404 commit 20154ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
</selenide.reportsFolder>
<selenide.downloadsFolder>${project.build.directory}/selenide/downloads
</selenide.downloadsFolder>
<vaadin.reuseDevServer>false</vaadin.reuseDevServer>
</systemPropertyVariables>
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
</configuration>
Expand Down

0 comments on commit 20154ca

Please sign in to comment.