mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
test(chunkstore): cross the strict GC skew boundary
This commit is contained in:
1 parent
dadeb62eea
commit
dbf894ef77
1 file changed
+2
-1
@@ -127,7 +127,8 @@ func TestIntegration_DeleteVolumeThenGC(t *testing.T) {
|
||||
if _, err := g.Run(ctx); err != nil {
|
||||
t.Fatalf("GC mark 1: %v", err)
|
||||
}
|
||||
at = at.Add(grace + time.Minute)
|
||||
// Reclamation requires strictly more than grace plus the skew bound.
|
||||
at = at.Add(grace + DefaultGCClockSkew + time.Second)
|
||||
gr, err := g.Run(ctx)
|
||||
if err != nil {
|
||||
t.Fatalf("GC mark 2: %v", err)
|
||||
|
||||
Reference in new issue
Block a user