On Wed, Sep 19, 2018 at 4:46 PM Jamo Luhrsen <jluhr...@gmail.com> wrote:

> \
> > Anyway we'll need to enable debug
> for org.opendaylight.controller.cluster.datastore.entityownership.  I would
> suggest to
> > pull out that test on its own like you've done before (run it standalone
> in sandbox I guess). Also delete the log files
> > in between each run. This will make debugging much easier.
>
> Is there not enough info in the existing logs?


No - not with the default INFO logging. In order to dig deeper we need to
enable targeted debug, in this
case org.opendaylight.controller.cluster.datastore.entityownership.


> You can easily trim the
> karaf logs based on the test cases. We are logging the start of every
> suite and test case.
>
>
I think it's  much easier and faster to debug a failing test if it's
isolated. Of course the logs are much smaller and don't require trimming.
Enabling debug can result in huge logs even just running one test, let
alone the whole batch of them. Also I assume this test fails sporadically
which means it needs to be run over and over. Doing that with the entire
job will take a long time. But if it's too much of a pain to isolate the
test, then OK.
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to