From 162a47343d3b50012294717e5a38af9d25965c4c Mon Sep 17 00:00:00 2001 From: Kevin Davis Date: Wed, 15 Apr 2020 22:37:22 -0400 Subject: [PATCH] feat: reduce determinism sim runs --- app/sim_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/sim_test.go b/app/sim_test.go index 37ad51a3..1d0bd12e 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -662,12 +662,12 @@ func TestAppStateDeterminism(t *testing.T) { config.OnOperation = false config.AllInvariants = false - numSeeds := 3 - numTimesToRunPerSeed := 5 + numSeeds := 1 + numTimesToRunPerSeed := 2 appHashList := make([]json.RawMessage, numTimesToRunPerSeed) for i := 0; i < numSeeds; i++ { - config.Seed = rand.Int63() + config.Seed = 8674665223082153551 for j := 0; j < numTimesToRunPerSeed; j++ { logger := log.NewNopLogger()