fix: 固化 Workbench Trace 可读性探针
This commit is contained in:
@@ -77,6 +77,21 @@ test("validateWorkbenchKafkaDebugReplay is a YAML-enabled argument-free typed co
|
||||
});
|
||||
});
|
||||
|
||||
test("validateWorkbenchTraceReadability 是由独立 YAML 启用的无参数 typed command", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["command", "--type", "validateWorkbenchTraceReadability"],
|
||||
"NC01",
|
||||
"v03",
|
||||
spec,
|
||||
"webobs-fixture",
|
||||
null,
|
||||
);
|
||||
|
||||
assert.equal(options.commandType, "validateWorkbenchTraceReadability");
|
||||
assert.equal(spec.webProbe?.workbenchTraceReadability?.terminalTimeoutMs, 480_000);
|
||||
assert.equal(spec.webProbe?.workbenchTraceReadability?.runningCardTimeoutMs, 15_000);
|
||||
});
|
||||
|
||||
test("observe start selects the YAML public origin semantically", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["start", "--origin", "public"],
|
||||
|
||||
Reference in New Issue
Block a user