Skip to content

Using the end-of-stream condition in the RootTreeReader/Writer tests#2785

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:fix-roottreereader-test
Jan 15, 2020
Merged

Using the end-of-stream condition in the RootTreeReader/Writer tests#2785
ktf merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:fix-roottreereader-test

Conversation

@matthiasrichter
Copy link
Copy Markdown
Collaborator

The EOS condition allows to drop the logic for triggering the workflow
termination.

Also make sure not to publish any more data after the EOS condition has
been sent. The publisher of the RootTreeReader test was constantly pumping
data into the workflow. This can conflict with the device termination and
produces the error which sometimes makes the test fail
Failed sending on socket foo.push, reason: Interrupted system call
This is the actual cause for the problem tried to be fixed in d474376.

@matthiasrichter matthiasrichter requested a review from a team as a code owner January 15, 2020 10:37
The EOS condition allows to drop the logic for triggering the workflow
termination.

Also make sure not to publish any more data after the EOS condition has
been sent. The publisher of the RootTreeReader test was constantly pumping
data into the workflow. This can conflict with the device termination and
produces the error which sometimes makes the test fail
Failed sending on socket foo.push, reason: Interrupted system call
This is the actual cause for the problem tried to be fixed in d474376.
@matthiasrichter matthiasrichter force-pushed the fix-roottreereader-test branch from d0147a5 to 8fb294f Compare January 15, 2020 10:38
@ktf ktf merged commit 0dbdf69 into AliceO2Group:dev Jan 15, 2020
@matthiasrichter matthiasrichter deleted the fix-roottreereader-test branch February 3, 2020 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants