Skip to content

Commit

Permalink
Merge pull request #2782 from cosmos/jack/date-fix
Browse files Browse the repository at this point in the history
[R4R] Fix `test_sim_gaia_multi_seed` to be cross platform
  • Loading branch information
jackzampolin authored Nov 12, 2018
2 parents 811b863 + 2d38a96 commit 7a9687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/multisim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo "Using temporary log directory: $tmpdir"
sim() {
seed=$1
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..."
go test ./cmd/gaia/app -run TestFullGaiaSimulation -SimulationEnabled=true -SimulationNumBlocks=$blocks \
-SimulationVerbose=true -SimulationCommit=true -SimulationSeed=$seed -v -timeout 24h > $file
Expand Down

0 comments on commit 7a9687a

Please sign in to comment.