This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Appsody test is not working on spring boot 2 #821
Labels
stack/java-spring-boot2
Issues related to java-spring-boot2 stack
Comments
Refactoring the class that appsody generates [Container] 2020-05-28 16:33:06.993 INFO 186 --- [o-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
[Container] 2020-05-28 16:33:06.993 INFO 186 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
[Container] 2020-05-28 16:33:07.015 INFO 186 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 22 ms
[Container] 2020-05-28 16:33:07.164 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: f8b2380dff08f327:f8b2380dff08f327:0:1 - GET
[Container] 2020-05-28 16:33:07.269 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: 70520fdbe2ef36db:70520fdbe2ef36db:0:1 - GET
[Container] 2020-05-28 16:33:07.280 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: be347a2139594b08:be347a2139594b08:0:1 - GET
[Container] 2020-05-28 16:33:07.320 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: f4b83cf9358b4546:f4b83cf9358b4546:0:1 - GET
[Container] 2020-05-28 16:33:07.334 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: 302d20a796e5e032:302d20a796e5e032:0:1 - GET
[Container] 2020-05-28 16:33:07.367 INFO 186 --- [ main] i.j.internal.reporters.LoggingReporter : Span reported: 2ff445a4a4084526:2ff445a4a4084526:0:1 - GET
[Container] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.666 sec
[Container] 2020-05-28 16:33:07.435 INFO 186 --- [ Thread-11] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
[Container]
[Container] Results :
[Container]
[Container] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
|
5 tasks
neeraj-laad
added
the
stack/java-spring-boot2
Issues related to java-spring-boot2 stack
label
Jun 1, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Unable to run unit tests on the default
MainTest
class that gets generated when usingappsody test
.To Reproduce
Steps to reproduce the behavior:
Step 3 generates the
MainTests
classExpected behavior
I need to understand when using
appsody test
the test classes do not run. What it should do, it should run the test class that got generated by appsody.Actual behaviour
The build is successful but I do not get any indication that the test cases passed/failed.
Environment Details (please complete the following information):
If applicable please specify:
The text was updated successfully, but these errors were encountered: