Skip to content

Commit

Permalink
Add comments for workspace clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <ihailong@amazon.com>
  • Loading branch information
Hailong-am committed Oct 16, 2023
1 parent 2f96d65 commit 84f05e2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ describe('workspace service', () => {
.expect(200);
await Promise.all(
listResult.body.result.workspaces.map((item: WorkspaceAttribute) =>
// this will delete reserved workspace
// workspace delete API will not able to delete reserved workspace
// to clean up the test data, change it saved objects delete API
osdTestServer.request
.delete(root, `/api/saved_objects/${WORKSPACE_TYPE}/${item.id}`)
.expect(200)
Expand Down

0 comments on commit 84f05e2

Please sign in to comment.