From c4c75b7e4ecc9c664d1f778e5e7c5305dff65b12 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 05:57:43 -0300 Subject: 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 --- 9proc/src/core.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '9proc/src') 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(); -- cgit v1.3