Unverified Commit 41d0af94 authored by Alex Pott's avatar Alex Pott
Browse files

task: #3588897 Widen the script/stylesheet bytes assertion ranges in performance tests

By: catch
(cherry picked from commit f6103006)
parent 56d0ae2f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -682,7 +682,7 @@ protected function assertMetrics(
    $values = [];
    foreach ($expected as $name => $metric) {
      if (in_array($name, $assertRange)) {
        $this->assertCountBetween($metric - 500, $metric + 500, $performance_data->{"get$name"}(), "Asserting $name");
        $this->assertCountBetween($metric - 2000, $metric + 2000, $performance_data->{"get$name"}(), "Asserting $name");
        unset($expected[$name]);
      }
      else {