mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-17 04:36:50 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user