Skip to content

Commit c436204

Browse files
Expect timeout on MACOs on Github Actions
1 parent db2f049 commit c436204

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/tools/atlas-local/listDeployments.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ describe("atlas-local-list-deployments", () => {
2929
it.skipIf(!isMacOSInGitHubActions)(
3030
"[MacOS in GitHub Actions] should not have the atlas-local-list-deployments tool",
3131
async ({ signal }) => {
32-
await waitUntilMcpClientIsSet(integration.mcpServer(), signal);
32+
// This should throw an error because the client is not set within the timeout of 5 seconds (default)
33+
await expect(waitUntilMcpClientIsSet(integration.mcpServer(), signal)).rejects.toThrow();
34+
3335
const { tools } = await integration.mcpClient().listTools();
3436
const listDeployments = tools.find((tool) => tool.name === "atlas-local-list-deployments");
3537
expect(listDeployments).toBeUndefined();

0 commit comments

Comments
 (0)