From a80259d3621fd24dc494d58b5e616d0f89e5bfe7 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 16 Aug 2026 12:06:43 -0700 Subject: [PATCH] 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. --- weed/worker/tasks/iceberg/table_config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/worker/tasks/iceberg/table_config_test.go b/weed/worker/tasks/iceberg/table_config_test.go index 451ea7329..af46d4825 100644 --- a/weed/worker/tasks/iceberg/table_config_test.go +++ b/weed/worker/tasks/iceberg/table_config_test.go @@ -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)