Skip to content

Commit 2a7df40

Browse files
committed
post-rebase fix of test.toml + update outputs
1 parent 1d70ffb commit 2a7df40

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

acceptance/bundle/resources/jobs/output.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
>>> [CLI] bundle deploy
23
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
34
Deploying resources...
@@ -86,12 +87,12 @@ Deployment complete!
8687
"method": "POST",
8788
"path": "/api/2.2/jobs/reset"
8889
}
89-
jobs foo id='[TEST_JOB_ID+0]' name='foo'
90+
jobs foo id='[NUMID]' name='foo'
9091

9192
=== Fetch job ID and verify remote state
92-
>>> [CLI] jobs get [TEST_JOB_ID+0]
93+
>>> [CLI] jobs get [NUMID]
9394
{
94-
"job_id":[TEST_JOB_ID+0],
95+
"job_id":[NUMID],
9596
"settings": {
9697
"deployment": {
9798
"kind":"BUNDLE",
@@ -136,14 +137,14 @@ Destroy complete!
136137
>>> print_requests
137138
{
138139
"body": {
139-
"job_id": [TEST_JOB_ID+0]
140+
"job_id": [NUMID]
140141
},
141142
"method": "POST",
142143
"path": "/api/2.2/jobs/delete"
143144
}
144145
State not found for jobs.foo
145146

146-
>>> musterr [CLI] jobs get [TEST_JOB_ID+0]
147+
>>> musterr [CLI] jobs get [NUMID]
147148
Error: Not Found
148149

149150
Exit code (musterr): 1

acceptance/test.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ TimeoutCloud = '25m'
1414
Env.PYTHONDONTWRITEBYTECODE = "1"
1515
Env.PYTHONUNBUFFERED = "1"
1616

17+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct"]
18+
EnvRepl.DATABRICKS_CLI_DEPLOYMENT = false
19+
1720
# >>> datetime.datetime.fromtimestamp(18000000000)
1821
# datetime.datetime(2027, 1, 15, 9, 0)
1922
# >>> datetime.datetime.fromtimestamp(1900000000)
@@ -69,9 +72,6 @@ Old = '2\d\d\d-\d\d-\d\d(T| )\d\d:\d\d:\d\d'
6972
New = "[TIMESTAMP]"
7073
Order = 10
7174

72-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct"]
73-
EnvRepl.DATABRICKS_CLI_DEPLOYMENT = false
74-
7575
[[Repls]]
7676
Old = '"exec_path": " "'
7777
New = '"exec_path": "[TERRAFORM]"'

0 commit comments

Comments
 (0)