test: compile time only needs testing once (#22123)
* test: compile time only needs testing once * test: fix review comments for Codypull/22140/head
parent
37faac9755
commit
90b4c80af2
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue