From 7619401b34b85c657eb4e2128762d080f579ac8f Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Mon, 16 Dec 2024 12:45:58 -0800 Subject: [PATCH] use system drive instead of the first mount point (which may be unhealthy) --- src/volume_metadata.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume_metadata.test.ts b/src/volume_metadata.test.ts index 57130b5..ebb8e0b 100644 --- a/src/volume_metadata.test.ts +++ b/src/volume_metadata.test.ts @@ -62,7 +62,7 @@ describe("concurrent", () => { it("should handle concurrent getVolumeMetadata() calls", async () => { const mountPoints = await getVolumeMountPoints(); - const expectedMountPoint = mountPoints[0]!.mountPoint; + const expectedMountPoint = systemDrive(); const expected = await getVolumeMetadata(expectedMountPoint); const validMountPoints = mountPoints