Skip to content

Commit

Permalink
test: fix fuzz test FuzzBigQueryDataTransferConfigSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyih committed Dec 6, 2024
1 parent c7b0583 commit 84b4043
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller/direct/bigquerydatatransfer/roundtrip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,19 @@ func FuzzBigQueryDataTransferConfigSpec(f *testing.F) {
fuzz.FillWithRandom(t, randStream, p1)

// Status fields
unimplementedFields := sets.New(
statusFields := sets.New(
".name",
".dataset_region",
".next_run_time",
".owner_info",
".state",
".update_time",
".user_id",
".error",
)

clearFields := &fuzz.ClearFields{
Paths: unimplementedFields,
Paths: statusFields,
}
fuzz.Visit("", p1.ProtoReflect(), nil, clearFields)

Expand Down

0 comments on commit 84b4043

Please sign in to comment.