tmf: Fix exceptions in TmfTraceManagerTests
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Thu, 6 Mar 2014 13:12:37 +0000 (08:12 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 6 Mar 2014 17:52:51 +0000 (12:52 -0500)
commit3568f81663309902bdb9d4a2734dd19f5958a8ac
treedaaee457ccd862a739924ec28428b458fcb58169
parentec5e260c3d6d1c817e36e6dea479a19e46c47ce8
tmf: Fix exceptions in TmfTraceManagerTests

This Junit tests causes NullPointerExceptions and
IllegalStateExceptions in the TmfStatisticsModule and
TmfStateSystemAnalysisModule because the trace object is null. This
happens because the job that executes analysis was scheduled but
the acutal test case is finished. This patch fixes the time issue
in the test case and not the concurrency issue of these analysis
modules.

Change-Id: Iead1d372e3596d0abb0e9857c56d0872228e4e22
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22988
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfTraceManagerTest.java
This page took 0.025809 seconds and 5 git commands to generate.