Skip to content

Commit

Permalink
fix(compute/test): ignore enable-telemetry flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Sep 20, 2023
1 parent b6b7ca5 commit 06cd1f9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/commands/compute/compute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,17 @@ func TestServeFlagDivergence(t *testing.T) {
have = make(map[string]int)
)

// Some flags on `compute build` are unique to it.
ignoreBuildFlags := []string{
"enable-telemetry",
}

iter := buildFlags.MapRange()
for iter.Next() {
expect[iter.Key().String()] = 1
flag := iter.Key().String()
if !ignoreFlag(ignoreBuildFlags, flag) {
expect[flag] = 1
}
}

// Some flags on `compute serve` are unique to it.
Expand Down

0 comments on commit 06cd1f9

Please sign in to comment.