lttng-tools icon indicating copy to clipboard operation
lttng-tools copied to clipboard

Add relay snapshot test scenario with low bandwidth on data socket

Open frdeso opened this issue 6 years ago • 3 comments

This test highlights a race in the relay snapshot mode. This testcase triggers a race where the trace is unreadable because tracing is stopped eventhough data is still in flight.

This PR only provides a testcase/reproducer and does not provide a fix.

This PR also includes some cleanups of the snapshot testcases.

frdeso avatar Dec 04 '18 16:12 frdeso

@PSRCode Are you okay with the first two commits (cleanup)? I could merge those and wait for a fix to merge the new test.

jgalar avatar Dec 10 '18 20:12 jgalar

@jgalar first two looks good. Go ahead.

@frdeso Still waiting for feedback regarding the commit message of the test.

PSRCode avatar Dec 10 '18 20:12 PSRCode

I updated the commit message but we will need to update it again when we come up with a fix.

frdeso avatar Dec 10 '18 23:12 frdeso