From d93a6940770bbdf3acab147af2ca838dfae7ebd0 Mon Sep 17 00:00:00 2001 From: Tristan Wilson Date: Fri, 3 Nov 2023 11:05:44 -0700 Subject: [PATCH] Use leveldb for tests til race cond issues fixed --- system_tests/common_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system_tests/common_test.go b/system_tests/common_test.go index c0864886d8..327ce94e06 100644 --- a/system_tests/common_test.go +++ b/system_tests/common_test.go @@ -480,6 +480,7 @@ func createStackConfigForTest(dataDir string) *node.Config { stackConf.P2P.NoDial = true stackConf.P2P.ListenAddr = "" stackConf.P2P.NAT = nil + stackConf.DBEngine = "leveldb" // TODO Try pebble again in future once iterator race condition issues are fixed return &stackConf } @@ -492,6 +493,7 @@ func createTestValidationNode(t *testing.T, ctx context.Context, config *valnode stackConf.WSModules = []string{server_api.Namespace} stackConf.P2P.NoDiscovery = true stackConf.P2P.ListenAddr = "" + stackConf.DBEngine = "leveldb" // TODO Try pebble again in future once iterator race condition issues are fixed valnode.EnsureValidationExposedViaAuthRPC(&stackConf)