forked from TrueCloudLab/frostfs-node
[#1634] node: Change default epoch in tests
Do not treat objects with expiration as expired by default. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
edef26a4fd
commit
beb7f2a048
5 changed files with 5 additions and 10 deletions
|
@ -2,7 +2,6 @@ package engine
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"math"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
@ -31,7 +30,7 @@ import (
|
|||
type epochState struct{}
|
||||
|
||||
func (s epochState) CurrentEpoch() uint64 {
|
||||
return math.MaxUint64
|
||||
return 0
|
||||
}
|
||||
|
||||
func BenchmarkExists(b *testing.B) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue