Skip to content

Commit

Permalink
Minor fixes found while debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff R. Allen committed Jun 16, 2020
1 parent 41e4983 commit 1d7fd07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simul/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func startBuild() {
case <-testsDone:
log.Lvl3("Done with test", simulation)
case <-time.After(timeout):
log.Fatal("Test failed to finish in", timeout, "seconds")
log.Fatal("Test failed to finish in", timeout)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions simul/platform/cliutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func SSHRun(username, host, command string) ([]byte, error) {
addr = username + "@" + addr
}

log.Lvl4("Going to ssh to", addr, command)
cmd := exec.Command("ssh", "-o", "StrictHostKeyChecking=no", addr,
"eval '"+command+"'")
buf, err := cmd.Output()
Expand Down
2 changes: 1 addition & 1 deletion simul/platform/deterlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (d *Deterlab) Start(args ...string) error {
}
log.Lvl3("Setup remote port forwarding", cmd)
go func() {
err := SSHRunStdout(d.Login, d.Host, "cd remote; GOMAXPROCS=8 ./users -suite="+d.Suite)
err := SSHRunStdout(d.Login, d.Host, "cd remote; ./users -suite="+d.Suite)
if err != nil {
log.Lvl3(err)
}
Expand Down

0 comments on commit 1d7fd07

Please sign in to comment.