mwinteringham / restful-booker-platform

A SaaS platform used for various test automation training
http://www.automationintesting.com
GNU General Public License v3.0
128 stars 158 forks source link

Build failure in restful-booker-platform-assets #207

Closed german-chacon closed 2 years ago

german-chacon commented 2 years ago

I am trying to build in Windows 11 but I am getting the following:

[INFO] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for restful-booker-platform 1.5.SNAPSHOT: [INFO] [INFO] restful-booker-platform-auth ....................... SUCCESS [ 26.268 s] [INFO] restful-booker-platform-booking .................... SUCCESS [ 36.724 s] [INFO] restful-booker-platform-room ....................... SUCCESS [ 32.683 s] [INFO] restful-booker-platform-report ..................... SUCCESS [ 32.682 s] [INFO] restful-booker-platform-branding ................... SUCCESS [ 42.264 s] [INFO] restful-booker-platform-message .................... SUCCESS [ 50.656 s] [INFO] restful-booker-platform-assets ..................... FAILURE [ 24.975 s] [INFO] restful-booker-platform ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:06 min [INFO] Finished at: 2022-08-08T12:34:04+07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on projectrestful-booker-platform-assets: There are test failures. [ERROR] [ERROR] Please refer to C:...\restful-booker-platform\assets\api\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :restful-booker-platform-assets

when I check the surefire reports I see:


Test set: com.automationintesting.unit.taskanalysis.ServeContentTest

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.513 s <<< FAILURE! - in com.automationintesting.unit.taskanalysis.ServeContentTest checkUiServesStaticContent Time elapsed: 4.484 s <<< FAILURE! org.opentest4j.AssertionFailedError: expected: <

Restful-booker-platform demo Githubissues.
  • Githubissues is a development platform for aggregating issues.