Skip to content

Commit 46b1177

Browse files
jasnelladuh95
authored andcommitted
test: update quic tests for stream/iter update
PR-URL: #64464 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent 7331118 commit 46b1177

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žtest/parallel/test-quic-stream-uni-basic.mjsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const serverEndpoint = await listen(mustCall((serverSession) => {
3434
strictEqual(decoder.decode(received), message);
3535

3636
// The server side of a remote unidirectional stream is not writable.
37-
// The writer should be pre-closed (desiredSize returns null).
37+
// The writer should be pre-closed (canWrite returns null).
3838
const w = stream.writer;
39-
strictEqual(w.desiredSize, null);
39+
strictEqual(w.canWrite, null);
4040
strictEqual(w.endSync(), 0);
4141

4242
await stream.closed;

β€Žtest/parallel/test-quic-writer-stop-sending.mjsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Test: peer STOP_SENDING transitions writer to errored state.
44
// After the server calls stopSending(), the client's writer should
5-
// become errored β€” desiredSize is null, writeSync returns false.
5+
// become errored β€” canWrite is null, writeSync returns false.
66

77
import { hasQuic, skip, mustCall } from '../common/index.mjs';
88
import * as assert from 'node:assert';

0 commit comments

Comments
Β (0)