summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 05:57:43 -0300
committerGabriel Schneider <[email protected]>2026-10-01 05:57:43 -0300
commitc4c75b7e4ecc9c664d1f778e5e7c5305dff65b12 (patch)
tree8cc878edcd84b92c8c97286bbde38234f2215384
parent552584ad79448988646231c7993a36e55b0e8c05 (diff)
downloadcloud9-c4c75b7e4ecc9c664d1f778e5e7c5305dff65b12.tar.gz
cloud9-c4c75b7e4ecc9c664d1f778e5e7c5305dff65b12.zip
9proc: the test of a read past the parking cap expects the engine's "too many reads waiting: N", as fs has refused it since 4af5c95
4af5c95 made the engine refuse a request it has no slot to park in with "too many reads waiting: N" instead of EAGAIN's C string; 9proc's test of its provider parking still expected the old words, so programs-test has failed since. It now names the engine's own refusal, Engine.e_waiting. Co-Authored-By: Claude Opus 5.5 <[email protected]>
-rw-r--r--9proc/src/core.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/9proc/src/core.zig b/9proc/src/core.zig
index ce71809..12ecff9 100644
--- a/9proc/src/core.zig
+++ b/9proc/src/core.zig
@@ -2484,7 +2484,7 @@ test "a provider read that is not ready parks and is answered on a later step" {
_ = try x.h.client.submit(.{ .read = .{ .fid = 1, .offset = 0, .count = 100 } });
_ = try x.h.pump();
try testing.expectEqual(@as(?cloud9.Client.Done, null), x.h.client.take());
- try x.h.expectFail(.{ .read = .{ .fid = 1, .offset = 0, .count = 100 } }, fs.e_again);
+ try x.h.expectFail(.{ .read = .{ .fid = 1, .offset = 0, .count = 100 } }, TS.Engine.e_waiting);
// ready: the next step answers both, oldest first, with the original tags
x.prov.park = false;
_ = try x.h.pump();