Skip to content
Snippets Groups Projects
Verified Commit 110c3f05 authored by Dave Long's avatar Dave Long
Browse files

Issue #3417989 by catch: Add ranges to more performance test assertions

parent e03d3ec5
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ public function testFrontPageAuthenticatedWarmCache(): void { ...@@ -36,7 +36,7 @@ public function testFrontPageAuthenticatedWarmCache(): void {
$this->drupalGet('<front>'); $this->drupalGet('<front>');
}, 'authenticatedFrontPage'); }, 'authenticatedFrontPage');
$this->assertGreaterThanOrEqual(15, $performance_data->getQueryCount()); $this->assertGreaterThanOrEqual(15, $performance_data->getQueryCount());
$this->assertLessThanOrEqual(16, $performance_data->getQueryCount()); $this->assertLessThanOrEqual(17, $performance_data->getQueryCount());
$this->assertSame(45, $performance_data->getCacheGetCount()); $this->assertSame(45, $performance_data->getCacheGetCount());
$this->assertSame(0, $performance_data->getCacheSetCount()); $this->assertSame(0, $performance_data->getCacheSetCount());
$this->assertSame(0, $performance_data->getCacheDeleteCount()); $this->assertSame(0, $performance_data->getCacheDeleteCount());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment