DAO test

Barak Korren bkorren at redhat.com
Mon Mar 28 05:52:31 UTC 2016


On 27 March 2016 at 20:57, Yevgeny Zaspitsky <yzaspits at redhat.com> wrote:
> Hi All,
>
> I renamed NetworkAttachmentDaoTest.java to NetworkAttachmentDaoImplTest.java
> (note the added "Impl") and Jenkins now includes the test in the regular
> unit-tests run rather than running that as a dao-unit-tests job. That causes
> test to fail as it cannot connect ot the tests DB.
>
> Where the logic of choosing the right configuration sits?
> Shouldn't any dal change trigger the dao tests rather than the regular ones?
>

I'm not sure which project are you referring to, but if you are
talking about a project which uses Standard CI, then all the logic
resides either in the scripts in the automation directory or in the
tools they invoke.
The only logic which does not sit there (for now) is which of the 3
Std-CI stages to run for which OS.

What this means  WRT the above is that the logic to set up the test DB
needs to be embedded in the automation script (probably
check_patch.sh) as well as the logic to decide which patch to run.

-- 
Barak Korren
bkorren at redhat.com
RHEV-CI Team



More information about the Infra mailing list