[#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:
Pavel Karpy 2022-09-09 13:27:15 +03:00 committed by LeL
parent edef26a4fd
commit beb7f2a048
5 changed files with 5 additions and 10 deletions

View file

@ -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) {