Skip to content

Commit

Permalink
tests/riot.go: Change unexpexted status code output
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman committed Nov 19, 2018
1 parent 17e9367 commit 6efb984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/riot.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func Attacker(goRoutineId int, c *Config, f func(j int, c *Config) ([]byte, erro
defer res.Body.Close()

if res.StatusCode != c.req.expectedStatusCode {
log.Fatalf("Server error: %v", err)
log.Fatalf("Server error: %v", res)
}

c.counter++
Expand Down

0 comments on commit 6efb984

Please sign in to comment.