Skip to content

integration: fix TestClustersGet assertion after JSON formatter change#5227

Merged
pietern merged 2 commits into
mainfrom
fix-test-clusters-get-json-format
May 11, 2026
Merged

integration: fix TestClustersGet assertion after JSON formatter change#5227
pietern merged 2 commits into
mainfrom
fix-test-clusters-get-json-format

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented May 11, 2026

Since #5170 the CLI's JSON output uses the standard : separator (via json.MarshalIndent) rather than the compact ":" form produced by the previous nwidger/jsoncolor dependency. TestClustersGet's substring assertion still expected the compact form and has been failing in every nightly environment; updating it to match the new output.

This pull request and its description were written by Isaac.

PR #5170 replaced nwidger/jsoncolor with `json.MarshalIndent`, which
emits the standard `: ` separator. The substring assertion still
expected the compact `"k":"v"` form and failed on every nightly env.

Co-authored-by: Isaac
@pietern pietern temporarily deployed to test-trigger-is May 11, 2026 08:44 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is May 11, 2026 08:44 — with GitHub Actions Inactive
@pietern pietern merged commit 896ac8d into main May 11, 2026
25 of 26 checks passed
@pietern pietern deleted the fix-test-clusters-get-json-format branch May 11, 2026 09:08
jamesbroadhead added a commit that referenced this pull request May 11, 2026
Prior run reported "Report generation failed" — known recurring flake
on databricks/cli's deco-tests bridge (PRs #5227, #5228, #5229 all
merged with the same red check on their head). Retriggering via empty
commit to see whether this run lands clean.

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants