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

Tests are failing in local maven build #1551

Closed
erikpetzold opened this issue Dec 11, 2020 · 1 comment · Fixed by #1557
Closed

Tests are failing in local maven build #1551

erikpetzold opened this issue Dec 11, 2020 · 1 comment · Fixed by #1557

Comments

@erikpetzold
Copy link
Member

Tests in spring-boot-admin-server-ui are failing

[ERROR] Failures: 
[ERROR]   AdminUiReactiveApplicationTest>AbstractAdminUiApplicationTest.should_contain_only_one_language:129 Status expected:<200 OK> but was:<500 INTERNAL_SERVER_ERROR>

> GET http://localhost:60963/sba-settings.js
> WebTestClient-Request-Id: [1]
> Accept: [*/*]

No content

< 500 INTERNAL_SERVER_ERROR Internal Server Error
< Referrer-Policy: [no-referrer]
< X-XSS-Protection: [1 ; mode=block]
< Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
< Pragma: [no-cache]
< Expires: [0]
< X-Content-Type-Options: [nosniff]
< X-Frame-Options: [DENY]
< Content-Type: [application/json]
< Content-Length: [151]
< Date: [Mon, 07 Dec 2020 20:57:04 GMT]
< Connection: [close]

{"timestamp":"2020-12-07T20:57:04.573+00:00","path":"/sba-settings.js","status":500,"error":"Internal Server Error","message":"","requestId":"9ae9c3d"}

[ERROR]   AdminUiReactiveApplicationTest>AbstractAdminUiApplicationTest.should_return_404_for_unknown_path:94 Status expected:<404 NOT_FOUND> but was:<500 INTERNAL_SERVER_ERROR>

> GET http://localhost:60946/unknown
> WebTestClient-Request-Id: [1]
> Accept: [text/html]

No content

< 500 INTERNAL_SERVER_ERROR Internal Server Error
< Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
< Pragma: [no-cache]
< Expires: [0]
< X-Content-Type-Options: [nosniff]
< X-Frame-Options: [DENY]
< X-XSS-Protection: [1 ; mode=block]
< Referrer-Policy: [no-referrer]
< Content-Length: [0]
< Date: [Mon, 07 Dec 2020 20:55:55 GMT]
< Connection: [close]

0 bytes of content (unknown content-type).

[ERROR]   AdminUiReactiveApplicationTest>AbstractAdminUiApplicationTest.should_return_index:41 Status expected:<200 OK> but was:<500 INTERNAL_SERVER_ERROR>

> GET http://localhost:60958/
> WebTestClient-Request-Id: [1]
> Accept: [text/html, */*]

No content

< 500 INTERNAL_SERVER_ERROR Internal Server Error
< Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
< Pragma: [no-cache]
< Expires: [0]
< X-Content-Type-Options: [nosniff]
< X-Frame-Options: [DENY]
< X-XSS-Protection: [1 ; mode=block]
< Referrer-Policy: [no-referrer]
< Content-Length: [0]
< Date: [Mon, 07 Dec 2020 20:56:47 GMT]
< Connection: [close]

0 bytes of content (unknown content-type).

[ERROR]   AdminUiReactiveApplicationTest>AbstractAdminUiApplicationTest.should_return_index_for_ui_path:80 Status expected:<200 OK> but was:<500 INTERNAL_SERVER_ERROR>

> GET http://localhost:60943/applications
> WebTestClient-Request-Id: [1]
> Accept: [text/html]

No content

< 500 INTERNAL_SERVER_ERROR Internal Server Error
< Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
< Pragma: [no-cache]
< Expires: [0]
< X-Content-Type-Options: [nosniff]
< X-Frame-Options: [DENY]
< X-XSS-Protection: [1 ; mode=block]
< Referrer-Policy: [no-referrer]
< Content-Length: [0]
< Date: [Mon, 07 Dec 2020 20:55:37 GMT]
< Connection: [close]

0 bytes of content (unknown content-type).

@joshiste
Copy link
Collaborator

That's true unfortunately I had to take a break on the mirgation toward 2.4.x due to limited time. IIRC if you run isolated from each other they do work.

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

Successfully merging a pull request may close this issue.

5 participants