feat: 沉淀 Workbench Kafka 隔离重放探针
This commit is contained in:
@@ -58,6 +58,25 @@ test("validateRealtimeFanout rejects profiles absent from the owning YAML", () =
|
||||
);
|
||||
});
|
||||
|
||||
test("validateWorkbenchKafkaDebugReplay is a YAML-enabled argument-free typed command", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["command", "--type", "validateWorkbenchKafkaDebugReplay"],
|
||||
"NC01",
|
||||
"v03",
|
||||
spec,
|
||||
"webobs-fixture",
|
||||
null,
|
||||
);
|
||||
|
||||
assert.equal(options.commandType, "validateWorkbenchKafkaDebugReplay");
|
||||
assert.deepEqual(spec.webProbe?.workbenchKafkaDebugReplay, {
|
||||
enabled: true,
|
||||
topic: "hwlab.event.debug.v1",
|
||||
groupPrefix: "hwlab-v03-workbench-isolated-debug",
|
||||
completionTimeoutMs: 30_000,
|
||||
});
|
||||
});
|
||||
|
||||
test("observe start selects the YAML public origin semantically", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["start", "--origin", "public"],
|
||||
|
||||
Reference in New Issue
Block a user