Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
shibeshduw committed Oct 9, 2024
1 parent ce64f93 commit f319f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/e2e-tests/src/utils/cleanup-deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AiApiError } from '@sap-ai-sdk/ai-api';
import {
deleteDeployment,
getDeployments,
modifyDeployment
stopDeployment
} from '@sap-ai-sdk/sample-code';
import { loadEnv } from './load-env.js';
import {
Expand Down Expand Up @@ -34,7 +34,7 @@ async function cleanupDeployments(): Promise<void> {
targetStatus !== 'STOPPED' &&
status !== 'UNKNOWN'
) {
await modifyDeployment(id, resourceGroup);
await stopDeployment(id, resourceGroup);
await waitForDeploymentToReachStatus(id, 'STOPPED');
} else if (status !== 'STOPPED' && targetStatus === 'STOPPED') {
await waitForDeploymentToReachStatus(id, 'STOPPED');
Expand Down

0 comments on commit f319f7f

Please sign in to comment.