Skip to content

Commit a1fcd65

Browse files
committed
fix: enable ips
1 parent fe3ea13 commit a1fcd65

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/integration/tools/atlas/clusters.test.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,17 @@ describeWithAtlas("clusters", (integration) => {
139139
beforeAll(async () => {
140140
const projectId = getProjectId();
141141
await waitClusterState(integration.mcpServer().session, projectId, clusterName, "IDLE");
142-
const cluster = await integration.mcpServer().session.apiClient.getCluster({
142+
await integration.mcpServer().session.apiClient.createProjectIpAccessList({
143143
params: {
144144
path: {
145145
groupId: projectId,
146-
clusterName: clusterName,
147146
},
148147
},
148+
body: [{
149+
comment: "MCP test",
150+
cidrBlock: "0.0.0.0/0"
151+
}]
149152
});
150-
151-
console.log(
152-
"Cluster connection string: ",
153-
cluster?.connectionStrings?.standardSrv || cluster?.connectionStrings?.standard
154-
);
155153
});
156154

157155
it("should have correct metadata", async () => {

0 commit comments

Comments
 (0)