Skip to content

Commit f503776

Browse files
authored
Merge pull request #187 from apelisse/fix-benchmark
Fix benchmark broken by owning empty structs
2 parents c6e603f + 14e776d commit f503776

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

merge/multiple_appliers_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,6 +1772,13 @@ func BenchmarkMultipleApplierRecursiveRealConversion(b *testing.B) {
17721772
`,
17731773
APIVersion: "v4",
17741774
Managed: fieldpath.ManagedFields{
1775+
"apply-one": fieldpath.NewVersionedSet(
1776+
_NS(
1777+
_P("mapOfMapsRecursive"),
1778+
),
1779+
"v4",
1780+
false,
1781+
),
17751782
"apply-two": fieldpath.NewVersionedSet(
17761783
_NS(
17771784
_P("mapOfMapsRecursive", "aa"),

0 commit comments

Comments
 (0)