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

Build fails on running mvn install due to test cases failure #35

Open
avitripathy01 opened this issue Sep 5, 2021 · 0 comments
Open

Comments

@avitripathy01
Copy link

The build works when the tests are skipped. Please find the trace from the build logs.

`[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.adobe.ags.curly.test.ConnectionManagerTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.405 s <<< FAILURE! - in com.adobe.ags.curly.test.ConnectionManagerTest
[ERROR] getAuthenticatedConnection(com.adobe.ags.curly.test.ConnectionManagerTest) Time elapsed: 0.33 s <<< FAILURE!
java.lang.AssertionError
at com.adobe.ags.curly.test.ConnectionManagerTest.getAuthenticatedConnection(ConnectionManagerTest.java:79)
[INFO] Running com.adobe.ags.curly.test.ErrorBehaviorTest
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.491 s <<< FAILURE! - in com.adobe.ags.curly.test.ErrorBehaviorTest
[ERROR] testHappyPath(com.adobe.ags.curly.test.ErrorBehaviorTest) Time elapsed: 0.007 s <<< FAILURE!
java.lang.AssertionError: Expected successful=true
at com.adobe.ags.curly.test.ErrorBehaviorTest.assertResults(ErrorBehaviorTest.java:188)
at com.adobe.ags.curly.test.ErrorBehaviorTest.testHappyPath(ErrorBehaviorTest.java:101)
[ERROR] testActionRequireFailure2(com.adobe.ags.curly.test.ErrorBehaviorTest) Time elapsed: 0.006 s <<< FAILURE!
java.lang.AssertionError: Expected completed=false
at com.adobe.ags.curly.test.ErrorBehaviorTest.assertResults(ErrorBehaviorTest.java:196)
at com.adobe.ags.curly.test.ErrorBehaviorTest.testActionRequireFailure2(ErrorBehaviorTest.java:149)
[INFO] Running com.adobe.ags.curly.test.JsonTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s - in com.adobe.ags.curly.test.JsonTest
[INFO] Running com.adobe.ags.curly.test.ActionRunnerTest
Parse Result -->

-Fjcr:primaryType=sling:OrderedFolder
-Fjcr:title=${1} ${0}
${2}/content/dam/test/${1}
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.adobe.ags.curly.test.ActionRunnerTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ConnectionManagerTest.getAuthenticatedConnection:79
[ERROR] ErrorBehaviorTest.testActionRequireFailure2:149->assertResults:196 Expected completed=false
[ERROR] ErrorBehaviorTest.testHappyPath:101->assertResults:188 Expected successful=true
[INFO]
[ERROR] Tests run: 9, Failures: 3, Errors: 0, Skipped: 0
[INFO]
`

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

No branches or pull requests

1 participant