mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
feat: reduce determinism sim runs
This commit is contained in:
parent
4cde3ba577
commit
162a47343d
@ -662,12 +662,12 @@ func TestAppStateDeterminism(t *testing.T) {
|
|||||||
config.OnOperation = false
|
config.OnOperation = false
|
||||||
config.AllInvariants = false
|
config.AllInvariants = false
|
||||||
|
|
||||||
numSeeds := 3
|
numSeeds := 1
|
||||||
numTimesToRunPerSeed := 5
|
numTimesToRunPerSeed := 2
|
||||||
appHashList := make([]json.RawMessage, numTimesToRunPerSeed)
|
appHashList := make([]json.RawMessage, numTimesToRunPerSeed)
|
||||||
|
|
||||||
for i := 0; i < numSeeds; i++ {
|
for i := 0; i < numSeeds; i++ {
|
||||||
config.Seed = rand.Int63()
|
config.Seed = 8674665223082153551
|
||||||
|
|
||||||
for j := 0; j < numTimesToRunPerSeed; j++ {
|
for j := 0; j < numTimesToRunPerSeed; j++ {
|
||||||
logger := log.NewNopLogger()
|
logger := log.NewNopLogger()
|
||||||
|
Loading…
Reference in New Issue
Block a user