iceberg maintenance: fix the test build master merged broken (#10780)

#10774 gave buildTestMetadata its refs and age parameters while #10773
added a caller with the old arity. Each was green against a master that
did not yet have the other, and the merge of both does not compile, so
vet and the unit tests fail on master.
This commit is contained in:
Chris Lu
2026-08-16 12:06:43 -07:00
committed by GitHub
parent 5f6dd4d3e5
commit a80259d362
@@ -388,7 +388,7 @@ func TestResolveCompactionRewritePlanAuto(t *testing.T) {
cfg := baseTestConfig()
cfg.RewriteStrategy = rewriteStrategyAuto
unsorted := buildTestMetadata(t, nil)
unsorted := buildTestMetadata(t, nil, nil, 0)
plan, err := resolveCompactionRewritePlan(cfg, unsorted)
if err != nil {
t.Fatalf("auto must not fail on an unsorted table: %v", err)