diff --git a/pkg/index/indextest/tests.go b/pkg/index/indextest/tests.go index f3493d776..d804bbe3e 100644 --- a/pkg/index/indextest/tests.go +++ b/pkg/index/indextest/tests.go @@ -285,6 +285,10 @@ Enpn/oOOfYFa5h0AFndZd1blMvruXfdAobjVABEBAAE= } func Index(t *testing.T, initIdx func() *index.Index) { + oldLocal := time.Local + time.Local = time.UTC + defer func() { time.Local = oldLocal }() + id := NewIndexDeps(initIdx()) id.Fataler = t defer id.DumpIndex(t)