tmf: make checkpoint indexer return a failed status if the request fails.
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 4 Mar 2016 22:44:21 +0000 (17:44 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 16 May 2016 20:03:08 +0000 (16:03 -0400)
commit12c612486b92959cdaea7534b49e25dcb00a51e5
tree885b7c9eef3f763bbe2df6d8ef35909d80db43c2
parent1302015b6157bc215859468ef99c4693ee478258
tmf: make checkpoint indexer return a failed status if the request fails.

Trace compass uses the TmfIndexingJob for every trace, propagating errors
in the trace reading could be done here. Before this patch, running the
job would always return Status#OK_STATUS. Now, if there is an error that
occured (the request fails) it will propagate the error instead of
swallowing it.

Change-Id: I7247de99af4c32c6747f0100d1c07275783264fd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/67918
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/indexer/checkpoint/TmfCheckpointIndexer.java
This page took 0.026673 seconds and 5 git commands to generate.