Skip to content

Commit

Permalink
Merge pull request #132 from austinvazquez/add-test-logging
Browse files Browse the repository at this point in the history
Rework deadline assertion logging to be more clear
  • Loading branch information
estesp authored Mar 8, 2023
2 parents 7e006e7 + 5a7c8fb commit 36fd7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func TestServerRequestTimeout(t *testing.T) {

dl, _ := ctx.Deadline()
if result.Deadline != dl.UnixNano() {
t.Fatalf("expected deadline %v, actual: %v", dl, result.Deadline)
t.Fatalf("expected deadline %v, actual: %v", dl, time.Unix(0, result.Deadline))
}
}

Expand Down

0 comments on commit 36fd7c3

Please sign in to comment.