streaming: emit response when stream received metadata event failed
Note: #1403 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 064e131ba7371e6d994e3d73790fa5e1fd09189a buildURL: Build Status, Sponge status: failed
Test output
Expected values to be strictly deep-equal: + actual - expected{ code: 200, details: '', message: 'OK',
-
metadata: {
-
metadata: true -
} }
+ expected - actual { "code": 200 "details": "" "message": "OK" + "metadata": { + "metadata": true + } }
/workspace/test/unit/streaming.ts:363 assert.deepStrictEqual(receivedResponse, expectedResponse); ^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
-
actual - expected
{ code: 200, details: '', message: 'OK',
- metadata: {
-
metadata: true - }
}
at null.check (test/unit/streaming.ts:363:16)
at StreamProxy.
(test/unit/streaming.ts:377:7) at Immediate._onImmediate (test/unit/streaming.ts:334:11) at processImmediate (internal/timers.js:464:21)
Looks like this issue is flaky. :worried:
I'm going to leave this open and stop commenting.
A human should fix and close this.
When run at the same commit (064e131ba7371e6d994e3d73790fa5e1fd09189a), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).