Skip to content

Commit 5e8bf1d

Browse files
committed
RootTreeWriter: correct failing test
Apart from what seems to be a mistake in the enumeration, it's not clear how the different timeslice is supposed to be handled. This for now removes the different timeslice, bringing the test back to green and hopefully not hiding some (wrong) assumption on the behavior of getPos, which was obviously broken so far for time pipelines with more than one input (possibly not pipelined).
1 parent c23dd50 commit 5e8bf1d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Framework/Utils/test/test_RootTreeWriter.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ BOOST_AUTO_TEST_CASE(test_RootTreeWriter)
207207
std::vector<InputRoute> schema = {
208208
{InputSpec{"input1", "TST", "INT"}, 0, "input1", 0}, //
209209
{InputSpec{"input2", "TST", "CONTAINER"}, 1, "input2", 0}, //
210-
{InputSpec{"input3", "TST", "CONTAINER"}, 2, "input3", 1}, //
210+
{InputSpec{"input3", "TST", "CONTAINER"}, 2, "input3", 0}, //
211211
{InputSpec{"input4", "TST", "BINARY"}, 3, "input4", 0}, //
212-
{InputSpec{"input5", "TST", "MSGABLE"}, 5, "input5", 0}, //
213-
{InputSpec{"input6", "TST", "FDMTLVEC"}, 6, "input6", 0}, //
214-
{InputSpec{"input7", "TST", "TRIV_VEC"}, 7, "input7", 0}, //
215-
{InputSpec{"input8", "TST", "SRLZDVEC"}, 8, "input8", 0}, //
212+
{InputSpec{"input5", "TST", "MSGABLE"}, 4, "input5", 0}, //
213+
{InputSpec{"input6", "TST", "FDMTLVEC"}, 5, "input6", 0}, //
214+
{InputSpec{"input7", "TST", "TRIV_VEC"}, 6, "input7", 0}, //
215+
{InputSpec{"input8", "TST", "SRLZDVEC"}, 7, "input8", 0}, //
216216
};
217217

218218
auto getter = [&store](size_t i) -> DataRef {

0 commit comments

Comments
 (0)