mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-23 03:18:09 +08:00
test(ql3): audit cutover probe executable contract
This commit is contained in:
@@ -309,7 +309,7 @@ function auditApplicationExecutable(artifactDirectory) {
|
|||||||
);
|
);
|
||||||
if (
|
if (
|
||||||
output !==
|
output !==
|
||||||
'Usage: ql3-local-application --config /absolute/private-config.json'
|
'Usage: ql3-local-application [--cutover-probe] --config /absolute/private-config.json'
|
||||||
) {
|
) {
|
||||||
fail('local application executable help output is invalid');
|
fail('local application executable help output is invalid');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -216,3 +216,14 @@ test('keeps the Node 24 compact Profile RSS budget below application and MCP tie
|
|||||||
/DEFAULT_MAX_MCP_RSS_DELTA_BYTES = 48 \* 1024 \* 1024/,
|
/DEFAULT_MAX_MCP_RSS_DELTA_BYTES = 48 \* 1024 \* 1024/,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('pins the Local application cutover probe in the artifact audit', () => {
|
||||||
|
assert.match(
|
||||||
|
LOCAL_PROFILE_AUDIT,
|
||||||
|
/Usage: ql3-local-application \[--cutover-probe\] --config \/absolute\/private-config\.json/,
|
||||||
|
);
|
||||||
|
assert.doesNotMatch(
|
||||||
|
LOCAL_PROFILE_AUDIT,
|
||||||
|
/Usage: ql3-local-application --config \/absolute\/private-config\.json/,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user