Fix wrong comparison var in e2e_node density test

This commit is contained in:
Michael Taufen 2016-11-10 10:26:00 -08:00
parent 2e4e932391
commit 90f8bffc33

View File

@ -469,8 +469,8 @@ func verifyPodStartupLatency(expect, actual framework.LatencyMetric) error {
if actual.Perc90 > expect.Perc90 { if actual.Perc90 > expect.Perc90 {
return fmt.Errorf("too high pod startup latency 90th percentile: %v", actual.Perc90) return fmt.Errorf("too high pod startup latency 90th percentile: %v", actual.Perc90)
} }
if actual.Perc99 > actual.Perc99 { if actual.Perc99 > expect.Perc99 {
return fmt.Errorf("too high pod startup latency 99th percentil: %v", actual.Perc99) return fmt.Errorf("too high pod startup latency 99th percentile: %v", actual.Perc99)
} }
return nil return nil
} }