-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DC-758] Delete run-catalog-workflow and move to using existing works…
…paces (#4188)
- Loading branch information
1 parent
77a1456
commit 113072a
Showing
7 changed files
with
48 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
integration-tests/tests/export-tdr-dataset-to-new-workspace.js
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
integration-tests/tests/export-tdr-dataset-to-workspace.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const _ = require('lodash/fp'); | ||
const { withWorkspace } = require('../utils/integration-helpers'); | ||
const { testExportToWorkspace } = require('../utils/catalog-utils'); | ||
const { registerTest } = require('../utils/jest-utils'); | ||
const { withUserToken } = require('../utils/terra-sa-utils'); | ||
|
||
const exportTdrDatasetToWorkspace = _.flow( | ||
withWorkspace, | ||
withUserToken | ||
)(async ({ billingProject, page, testUrl, token, workspaceName }) => { | ||
await testExportToWorkspace(billingProject, page, testUrl, token, 'Readable Catalog Snapshot 1', workspaceName); | ||
}); | ||
|
||
registerTest({ | ||
name: 'export-tdr-dataset-to-workspace', | ||
fn: exportTdrDatasetToWorkspace, | ||
timeout: 2 * 60 * 1000, | ||
targetEnvironments: [], | ||
}); |
13 changes: 0 additions & 13 deletions
13
integration-tests/tests/export-workspace-dataset-to-new-workspace.js
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
integration-tests/tests/export-workspace-dataset-to-workspace.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const _ = require('lodash/fp'); | ||
const { withWorkspace } = require('../utils/integration-helpers'); | ||
const { registerTest } = require('../utils/jest-utils'); | ||
const { withUserToken } = require('../utils/terra-sa-utils'); | ||
const { testExportToWorkspace } = require('../utils/catalog-utils'); | ||
|
||
const exportWorkspaceDatasetToWorkspace = _.flow( | ||
withWorkspace, | ||
withUserToken | ||
)(async ({ billingProject, page, testUrl, token, workspaceName }) => { | ||
await testExportToWorkspace(billingProject, page, testUrl, token, 'Readable Catalog Workspace 1', workspaceName); | ||
}); | ||
|
||
registerTest({ | ||
name: 'export-workspace-dataset-to-workspace', | ||
fn: exportWorkspaceDatasetToWorkspace, | ||
timeout: 2 * 60 * 1000, | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters