Skip to content

Commit

Permalink
Use leveldb for tests til race cond issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-Wilson committed Nov 3, 2023
1 parent e4f8ceb commit d93a694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system_tests/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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)

Expand Down

0 comments on commit d93a694

Please sign in to comment.