Skip to content

Commit 8039a5c

Browse files
authored
acc: Use unique pipeline name in TestAccept/bundle/generate/pipeline_and_deploy (#5261)
## Changes Use unique pipeline name in TestAccept/bundle/generate/pipeline_and_deploy ## Why Fixes the error ``` acceptance_test.go:926: Diff: --- bundle/generate/pipeline_and_deploy/output.txt +++ /tmp/TestAcceptbundlegeneratepipeline_and_deployDATABRICKS_BUNDLE4019091230/001/output.txt @@ -4,29 +4,6 @@ >>> [CLI] workspace import /Workspace/Users/[USERNAME]/test.py --file test.py --format AUTO --overwrite -=== Create a pipeline that references the filesCreated pipeline +=== Create a pipeline that references the filesError: The pipeline name 'test-pipeline' is already used by another pipeline. This check can be skipped by setting `allow_duplicate_names = true` in the request. ``` ## Tests Tests pass <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
1 parent 437a1ea commit 8039a5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • acceptance/bundle/generate/pipeline_and_deploy

acceptance/bundle/generate/pipeline_and_deploy/script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ trace $CLI workspace import "/Workspace/Users/${CURRENT_USER_NAME}/test.py" --fi
44

55
title "Create a pipeline that references the files"
66
PIPELINE_ID=$($CLI pipelines create --json '{
7-
"name": "test-pipeline",
7+
"name": "test-pipeline-${UNIQUE_NAME}",
88
"libraries": [
99
{
1010
"notebook": {

0 commit comments

Comments
 (0)