[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-dev
Subject:    Turbine core tests failing
From:       Jeffery Painter <jeff () jivecast ! com>
Date:       2018-12-13 15:04:34
Message-ID: cba7e4fe-018a-6fee-24d7-2a0bfb6f246e () jivecast ! com
[Download RAW message or body]

Hi guys,

Georg - I know you are making lots of updates to testcontainer and I am
trying to follow along to see how it impacts the other modules that rely
on it. As it is, turbine/core/trunk now fails to run any test cases.


[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:   5.689 s
[INFO] Finished at: 2018-12-13T09:59:42-05:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test
(default-test) on project turbine: No tests were executed!   (Set
-DfailIfNoTests=false to ignore this error.) -> [Help 1]
[ERROR]


I played with the pom.xml to try and get the tests back and running. I
had to add the jupiter dependencies from testcontainer/pom.xml and
update the surefire plugin the same as you had done there. Once that was
done however, I started getting a number of test failures.


One test in particular:

org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServiceTest#testGetAndUseTestComponent()


It looks like the test case is not loading the proper configuration
since when I inspect the service manager in the debugger, it looks like
it is pulling its configuration from
conf/test/fulcrumRoleConfigurationWithQuartz.xml   as it had the Quartz
service in the service manager object.

I had updated fulcrum-quartz to play nicely with your updated
testcontainer, but it looks as a result all of the quartz/scheduler
tests are failing in turbine core. I did not dig into those yet.   I just
removed them until I could figure out how to get the testing framework
to run at all (not a solution haha).

If you have a minute to check this out and make the pom changes needed
for turbine/core, that would be great. I don't want to add anything in
there that isn't really required.   Meanwhile, I will just focus on
getting the fulcrum-yaafi release going.


Thanks!

-- 
Jeff Painter



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic