Commit de9567a
authored
acc: Separate test output for direct and terraform for interactive_single_user test (#3768)
## Changes
Separate test output for direct and terraform for
interactive_single_user test
## Why
TF test behaviour for wheel jobs on single-user interactive clusters is
technically incorrect because TF in such a setup produces permanent
drift (incorrect), which leads to cluster restart on each bundle deploy,
and therefore wheel changes are picked up
```
# databricks_cluster.shared_autoscaling will be updated in-place
~ resource "databricks_cluster" "shared_autoscaling" {
id = "1015-102652-xxxxxxx"
- single_user_name = "aaaaaaaabbbb-bbbb-cccc-dddd-bb6ce382668a" -> null
# (19 unchanged attributes hidden)
# (1 unchanged block hidden)
}
```
Direct does not update/restart the cluster on subsequent deploys
(correct), and changes for the wheel are not picked, which is expected.
I separated the test output into 2 separate files for now, to unlock the
test.
## Tests
Existing 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 39feccf commit de9567a
File tree
4 files changed
+14
-8
lines changed- acceptance/bundle/integration_whl/interactive_single_user
4 files changed
+14
-8
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| |||
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 61 | | |
68 | 62 | | |
69 | 63 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
0 commit comments