diff --git a/internal/cli/coverage_test.go b/internal/cli/coverage_test.go index ac6dd7db..db670a74 100644 --- a/internal/cli/coverage_test.go +++ b/internal/cli/coverage_test.go @@ -367,3 +367,76 @@ func TestRunClusterInfo_BadKubeconfigExitsThree(t *testing.T) { t.Errorf("exit code = %d, want 3 (kubeconfig/local-input error)", ee.Code()) } } + +// --------------------------------------------------------------------------- +// backend#2895 — --output-json must name the table that was CREATED. +// +// `spec["table"]` is the operator's --name. Under per-ingestion tables the +// physical table is a `ds_` handle, so echoing the label emitted +// `"table": "