Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Wilkie committed Oct 23, 2015
1 parent 23e4459 commit beb4494
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
)

const (
schedulerHost = "positive-cocoa-90213.appspot.com"
jsonContentType = "application/json"
defaultSchedulerHost = "positive-cocoa-90213.appspot.com"
jsonContentType = "application/json"
)

var (
Expand All @@ -29,9 +29,10 @@ var (
succ = ansi.ColorCode("green+b")
reset = ansi.ColorCode("reset")

useScheduler = false
runParallel = false
verbose = false
schedulerHost = defaultSchedulerHost
useScheduler = false
runParallel = false
verbose = false

consoleLock = sync.Mutex{}
)
Expand Down Expand Up @@ -241,6 +242,7 @@ func main() {
mflag.BoolVar(&useScheduler, []string{"scheduler"}, false, "Use scheduler to distribute tests across shards")
mflag.BoolVar(&runParallel, []string{"parallel"}, false, "Run tests in parallel on hosts where possible")
mflag.BoolVar(&verbose, []string{"v"}, false, "Print output from all tests (Also enabled via DEBUG=1)")
mflag.StringVar(&schedulerHost, []string{"scheduler-host"}, defaultSchedulerHost, "Hostname of scheduler.")
mflag.Parse()

if len(os.Getenv("DEBUG")) > 0 {
Expand Down

0 comments on commit beb4494

Please sign in to comment.