Skip to content

Commit 6bdc33e

Browse files
authored
acc: fix broken tests (#3829)
## Changes Fix acceptance tests that are currently broken on the latest main branch. ## Why Acceptance tests block other PRs from being merged
1 parent 8dad255 commit 6bdc33e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

acceptance/auth/bundle_and_profile/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
=== Inside the bundle, profile flag not matching bundle host. Should use profile from the flag and not the bundle.
1515
>>> errcode [CLI] current-user me -p profile_name
16-
Error: Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": (redacted)
16+
Error: Credential was not sent or was of an unsupported type for this API. [ReqId: [UUID]]
1717

1818
Exit code: 1
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Error: git clone failed: git clone https://invalid-domain-123.databricks.com/hello/world (redacted) --no-tags --depth=1: exit status 128. Cloning into '(redacted)'...
2-
fatal: unable to access 'https://invalid-domain-123.databricks.com/hello/world/': SSL: no alternative certificate subject name matches target host name 'invalid-domain-123.databricks.com'
2+
fatal: repository 'https://invalid-domain-123.databricks.com/hello/world/' not found
33

44

55
Exit code: 1

acceptance/bundle/templates-machinery/wrong-url/test.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Old = '/world-[0-9]+'
77
New = '/world-123456'
88

99
[[Repls]]
10-
Old = 'SSL: certificate subject name .*'
11-
New = "SSL: no alternative certificate subject name matches target host name 'invalid-domain-123.databricks.com'"
12-
13-
[[Repls]]
14-
Old = 'schannel: SNI or certificate check failed: .*'
15-
New = "SSL: no alternative certificate subject name matches target host name 'invalid-domain-123.databricks.com'"
16-
10+
# Depends on system configuration and git version.
11+
# Examples:
12+
# - fatal: unable to access 'https://invalid-domain-123.databricks.com/hello/world/': SSL: no alternative certificate ...
13+
# - fatal: unable to access 'https://invalid-domain-123.databricks.com/hello/world/': SSL: certificate subject name ...
14+
# - fatal: repository 'https://invalid-domain-123.databricks.com/hello/world/' not found
15+
Old = "fatal: unable to access 'https://invalid-domain-123.databricks.com/hello/world/': .*"
16+
New = "fatal: repository 'https://invalid-domain-123.databricks.com/hello/world/' not found"
1717

1818
[[Repls]]
1919
Old = '''Cloning into '[^']+''''

0 commit comments

Comments
 (0)