Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Integration Tests are not running #739

Open
ismisepaul opened this issue Dec 8, 2022 · 1 comment
Open

[BUG] Integration Tests are not running #739

ismisepaul opened this issue Dec 8, 2022 · 1 comment
Assignees
Labels

Comments

@ismisepaul
Copy link
Member

Set up to run here:

Not running https://github.com/OWASP/SecurityShepherd/actions/runs/3624691122/jobs/6111969603#step:8:1336

[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.22.2:verify (integration-tests) @ owaspSecurityShepherd ---
[INFO] 
[INFO] --- docker-maven-plugin:0.40.1:stop (stop) @ owaspSecurityShepherd ---
[INFO] DOCKER> [mongo:4.1.13]: Stop and removed container 4ea7f3dcb572 after 0 ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  43.380 s
[INFO] Finished at: 2022-12-05T22:57:44Z
[INFO] ------------------------------------------------------------------------

Trying to solve in the branch update-servers dev...update-servers

@ismisepaul
Copy link
Member Author

Tests run on 2.19

  <artifactId>maven-failsafe-plugin</artifactId>
  <version>2.19</version>

When upgrading from a Surefire version prior to 2.7, the build can be run with the flag -Dsurefire.junit4.upgradecheck. This will perform a check and notify you of any invalid tests that will not be run with this version of Surefire (and the build fails). This is only meant to be used as a tool when upgrading to check that all expected tests will be run. It is a transitional feature that will be removed in a future version of surefire.

https://maven.apache.org/surefire/maven-failsafe-plugin/examples/junit.html#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant