nock icon indicating copy to clipboard operation
nock copied to clipboard

chore(#2185): add test to ensure recorder works when response stream not put in flowing mode

Open att14 opened this issue 3 years ago • 2 comments

ref #2185

att14 avatar Nov 30 '21 21:11 att14

Tests look good, thank you! Did you experiment with fixing it and see if it breaks any other tests?

gr2m avatar Dec 01 '21 00:12 gr2m

I played around with it a bit, but it appears to be an issue with the order the events are triggered in instead of my original flowing mode cause. I wasn't able to get this test to pass, even while breaking other tests.

Perhaps reading the stream takes enough time or gives enough cycles to the event loop that the other events take place before play() is called. I'll keep poking at it in my free time.

att14 avatar Dec 01 '21 17:12 att14