Edit config to speed up debugging (#1447)

* Edit config to speed up debugging

* Make test deterministic

* Restore test-sim-deterministic
This commit is contained in:
pinosu
2023-06-19 11:08:49 +02:00
committed by GitHub
parent a4548ba175
commit 657420b17e
3 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ package app
import (
"encoding/json"
"fmt"
"math/rand"
"os"
"runtime/debug"
"strings"
@@ -304,7 +303,7 @@ func TestAppStateDeterminism(t *testing.T) {
appOptions[server.FlagInvCheckPeriod] = simcli.FlagPeriodValue
for i := 0; i < numSeeds; i++ {
config.Seed = rand.Int63()
config.Seed += int64(i)
for j := 0; j < numTimesToRunPerSeed; j++ {
var logger log.Logger