Skip to content

Commit 2d85bac

Browse files
committed
test(installer): restore DGX OS express expectations
Signed-off-by: Aaron Erickson <[email protected]>
1 parent 4b33e19 commit 2d85bac

2 files changed

Lines changed: 7 additions & 21 deletions

File tree

‎test/install-express-prompt.test.ts‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ printf 'PROMPT_REACHED\n'
757757
expect(output).not.toContain("PROMPT_REACHED");
758758
});
759759

760-
it("explains the qualified DGX OS blocker before Station express preparation (#7103)", () => {
760+
it("explains the supported boundary for an unrecognized DGX OS before Station preparation", () => {
761761
const result = spawnSync(
762762
"bash",
763763
[
@@ -783,13 +783,9 @@ printf 'PROMPT_REACHED\n'
783783
const output = `${result.stdout}${result.stderr}`;
784784

785785
expect(result.status, output).not.toBe(0);
786-
expect(output).toContain("No DGX OS/BaseOS release is currently qualified");
787-
expect(output).toContain(
788-
"DGX OS 7.5 qualification failed CUDA initialization inside the OpenShell sandbox",
789-
);
786+
expect(output).toContain("outside the validated Station express boundary");
790787
expect(output).toContain("generic Ubuntu 24.04 ARM64");
791-
expect(output).toContain("there is no validated in-place conversion");
792-
expect(output).toContain("https://github.com/NVIDIA/OpenShell/issues/2343");
788+
expect(output).toContain("stock DGX OS 7.2.0, 7.4.0, or 7.5.0");
793789
expect(output).not.toContain("PROMPT_REACHED");
794790
});
795791

‎test/install-station-host-preparation.test.ts‎

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,10 @@ describe("DGX Station host preparation", () => {
5757
for (const doc of docs) {
5858
for (const version of pinnedValues) expect(doc).toContain(version);
5959
expect(doc).toMatch(/(?:DGX )?Station(?: remains|'s) Deferred/);
60-
expect(doc).toMatch(/real OpenShell sandbox|full qualification/);
61-
}
62-
});
63-
64-
it("documents the failed DGX OS sandbox boundary without implying host probes qualify it", () => {
65-
const helper = fs.readFileSync(STATION_PREPARE, "utf-8");
66-
const docs = STATION_DOCS.map((doc) => fs.readFileSync(doc, "utf-8"));
67-
68-
expect(helper).toContain("https://github.com/NVIDIA/OpenShell/issues/2343");
69-
expect(helper).toContain("there is no validated in-place conversion");
70-
for (const doc of docs) {
71-
expect(doc).toContain("NVIDIA/OpenShell#2343");
72-
expect(doc).toMatch(/DGX OS 7\.5.*CUDA initialization.*real OpenShell sandbox/);
73-
expect(doc).toContain("no validated in-place conversion");
60+
for (const version of ["7.2.0", "7.4.0", "7.5.0"]) {
61+
expect(doc).toContain(version);
62+
}
63+
expect(doc).toContain("DGX Server for GALAXY-GB300");
7464
}
7565
});
7666

0 commit comments

Comments
 (0)