github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/scripts/stresstest/run.sh (about)

     1  #!/bin/bash
     2  # Copyright 2012 Canonical Ltd.
     3  # Licensed under the AGPLv3, see LICENCE file for details.
     4  
     5  # basic stress test
     6  
     7  set -e
     8  
     9  while true; do
    10  	go get -u -v github.com/juju/juju/utils
    11  	export GOMAXPROCS=$[ 1 + $[ RANDOM % 128 ]]
    12          go test github.com/juju/juju/... 2>&1
    13  done