mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-08 22:13:59 +01:00
test: require the complete supported warm provider roster
Assert Codex and Copilot independently of the generated suite so replacing a supported profile with an unsupported one cannot preserve a passing count. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
5dfe1d4b29
commit
d6c2dea8dc
1 file changed
+2
-1
@@ -74,7 +74,8 @@ describe("rolling controller qualification", () => {
|
||||
&& (!profile.qualificationCandidate || QUALIFIED_ACPX_PROFILES[profile.qualificationCandidate].qualificationStatus !== "pending"))
|
||||
.map(kind));
|
||||
expect(new Set(native.map(kind))).toEqual(registeredKinds);
|
||||
const warmIds = new Set(runnerSuites.find(suite => suite.id === "rolling-web-deployment-warm")!.profiles.map(profile => profile.id));
|
||||
const warmIds = new Set(["runner-codex", "runner-acpx-copilot"]);
|
||||
expect(new Set(runnerSuites.find(suite => suite.id === "rolling-web-deployment-warm")!.profiles.map(profile => profile.id))).toEqual(warmIds);
|
||||
for (const profile of native) {
|
||||
const cells = executions.filter(execution => execution.profile.id === profile.id);
|
||||
expect(cells.filter(cell => cell.suite.id === "rolling-web-deployment")).toHaveLength(1);
|
||||
|
||||
Reference in new issue
Block a user