Open coyzeng opened 1 year ago
Actually, I'm getting test failures when running the tests on my machine, are you also seeing this?
badgerholdv4$ go test
store_test.go:158:
exp: &errors.errorString{s:"unexpected EOF"}
got: <nil>
--- FAIL: TestIssue70TypePrefixCollisionWithV3 (0.02s)
badger 2023/03/14 08:44:58 INFO: All 0 tables opened in 0s
badger 2023/03/14 08:44:58 INFO: Discard stats nextEmptySlot: 0
badger 2023/03/14 08:44:58 INFO: Set nextTxnTs to 0
badger 2023/03/14 08:44:58 INFO: Lifetime L0 stalled for: 0s
badger 2023/03/14 08:44:58 INFO:
Level 0 [ ]: NumTables: 01. Size: 514 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
FAIL
exit status 1
FAIL github.com/timshannon/badgerhold/v4 13.176s
I'll fix.
Upgrade badger to v4 Upgrade go to 1.19