test: compile time only needs testing once (#22123)

* test: compile time only needs testing once

* test: fix review comments for Cody
pull/22140/head
Sam Arnold 2021-08-09 16:58:07 -04:00 committed by GitHub
parent 37faac9755
commit 90b4c80af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions

View File

@ -145,20 +145,6 @@ func TestController_QuerySuccess(t *testing.T) {
if err := q.Err(); err != nil {
t.Errorf("unexpected error: %s", err)
}
stats := q.Statistics()
if stats.CompileDuration == 0 {
t.Error("expected compile duration to be above zero")
}
if stats.QueueDuration == 0 {
t.Error("expected queue duration to be above zero")
}
if stats.ExecuteDuration == 0 {
t.Error("expected execute duration to be above zero")
}
if stats.TotalDuration == 0 {
t.Error("expected total duration to be above zero")
}
validateRequestTotals(t, reg, 1, 0, 0, 0)
})
}