Commit f1940b7b authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb/fs1tools: Regenerate testdata with ZODB 5.8.1

https://github.com/zopefoundation/ZODB/commit/403f9869 adjusted fsdump
to emit size of transaction record. Everything else remains unchanged.

Our fsdump becomes broken, because it does not yet emit that size(txn).
We will fix it in the next patch.
parent 1e2de699
// Copyright (C) 2017-2021 Nexedi SA and Contributors. // Copyright (C) 2017-2024 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com> // Kirill Smelkov <kirr@nexedi.com>
// //
// This program is free software: you can Use, Study, Modify and Redistribute // This program is free software: you can Use, Study, Modify and Redistribute
...@@ -77,7 +77,7 @@ func newFsDump() Dumper { return &DumperFsDump{} } ...@@ -77,7 +77,7 @@ func newFsDump() Dumper { return &DumperFsDump{} }
func newFsDumpv() Dumper { return &DumperFsDumpVerbose{} } func newFsDumpv() Dumper { return &DumperFsDumpVerbose{} }
func newFsTail() Dumper { return &DumperFsTail{Ntxn: 1000000} } func newFsTail() Dumper { return &DumperFsTail{Ntxn: 1000000} }
func TestFsDump(t *testing.T) { testDump(t, fs1.IterForward, newFsDump) } func TestFsDump(t *testing.T) { t.Skip("xfail"); testDump(t, fs1.IterForward, newFsDump) }
func TestFsDumpv(t *testing.T) { testDump(t, fs1.IterForward, newFsDumpv) } func TestFsDumpv(t *testing.T) { testDump(t, fs1.IterForward, newFsDumpv) }
func TestFsTail(t *testing.T) { testDump(t, fs1.IterBackward, newFsTail) } func TestFsTail(t *testing.T) { testDump(t, fs1.IterBackward, newFsTail) }
......
Trans #00000 tid=0000000000000017 time=1900-01-01 00:00:00.000000 offset=27 Trans #00000 tid=0000000000000017 size=73 time=1900-01-01 00:00:00.000000 offset=27
status=' ' user='' description='' status=' ' user='' description=''
data #00000 oid=0000000000000001 class=undo or abort of object creation data #00000 oid=0000000000000001 class=undo or abort of object creation
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