Merge pull request #2782 from cosmos/jack/date-fix
[R4R] Fix `test_sim_gaia_multi_seed` to be cross platform
This commit is contained in:
commit
7a9687a9cd
|
@ -17,7 +17,7 @@ echo "Using temporary log directory: $tmpdir"
|
||||||
sim() {
|
sim() {
|
||||||
seed=$1
|
seed=$1
|
||||||
echo "Running full Gaia simulation with seed $seed. This may take awhile!"
|
echo "Running full Gaia simulation with seed $seed. This may take awhile!"
|
||||||
file="$tmpdir/gaia-simulation-seed-$seed-date-$(date -Iseconds -u).stdout"
|
file="$tmpdir/gaia-simulation-seed-$seed-date-$(date -u +"%Y-%m-%dT%H:%M:%S+00:00").stdout"
|
||||||
echo "Writing stdout to $file..."
|
echo "Writing stdout to $file..."
|
||||||
go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=$blocks \
|
go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=$blocks \
|
||||||
-SimulationVerbose=true -SimulationCommit=true -SimulationSeed=$seed -v -timeout 24h > $file
|
-SimulationVerbose=true -SimulationCommit=true -SimulationSeed=$seed -v -timeout 24h > $file
|
||||||
|
|
Loading…
Reference in New Issue