diff --git a/test/e2e/apimachinery/garbage_collector.go b/test/e2e/apimachinery/garbage_collector.go index 493013b6f1c..344ffb0d81b 100644 --- a/test/e2e/apimachinery/garbage_collector.go +++ b/test/e2e/apimachinery/garbage_collector.go @@ -68,7 +68,7 @@ func estimateMaximumPods(c clientset.Interface, min, max int32) int32 { availablePods += 10 } //avoid creating exactly max pods - availablePods = int32(float32(availablePods) * 8.0 / 10.0) + availablePods = int32(float32(availablePods) * (8.0 / 10.0)) // bound the top and bottom if availablePods > max { availablePods = max