Commit 3189c2ff authored by Kirill Smelkov's avatar Kirill Smelkov

go/internal/xtesting: Switch to updated FileStorage testdata to validate LoadDBHistory

Old fs1/testdata/1.fs will be going away -> we need to switch to using
newly generated multi-zkind testdata. However for this test using only
one zkind should be enough. Let's pick what we currently primarily use:
py2_pickle3.
parent 5980fc80
// Copyright (C) 2020 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
// Copyright (C) 2020-2024 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
// it under the terms of the GNU General Public License version 3, or (at your
......@@ -29,7 +29,7 @@ import (
func TestLoadDBHistory(t *testing.T) {
X := FatalIf(t)
data := "../../zodb/storage/fs1/testdata/1.fs"
data := "../../zodb/storage/fs1/testdata/py2_pickle3/1.fs" // one zkind is enough for hereby test
txnv, err := LoadDBHistory(data); X(err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment