Skip to content
Snippets Groups Projects
Commit 18071b07 authored by catch's avatar catch
Browse files

Issue #3500489 by plopesc, catch: Performance tests should uninstall automated_cron

parent 6fa03441
No related branches found
No related tags found
No related merge requests found
......@@ -73,14 +73,14 @@ public function testLogin(): void {
$expected = [
'QueryCount' => 4,
'CacheGetCount' => 61,
'CacheGetCount' => 60,
'CacheSetCount' => 2,
'CacheDeleteCount' => 0,
'CacheTagChecksumCount' => 2,
'CacheTagIsValidCount' => 29,
'CacheTagInvalidationCount' => 0,
'ScriptCount' => 2,
'ScriptBytes' => 220000,
'ScriptBytes' => 215500,
'StylesheetCount' => 1,
'StylesheetBytes' => 90200,
];
......
......@@ -48,7 +48,7 @@ public function testFrontPageAuthenticatedWarmCache(): void {
$expected = [
'QueryCount' => 4,
'CacheGetCount' => 42,
'CacheGetCount' => 40,
'CacheSetCount' => 0,
'CacheDeleteCount' => 0,
'CacheTagChecksumCount' => 0,
......
......@@ -127,7 +127,7 @@ protected function testAnonymous(): void {
$this->assertSame($expected_queries, $recorded_queries);
$expected = [
'QueryCount' => 36,
'CacheGetCount' => 123,
'CacheGetCount' => 122,
'CacheSetCount' => 45,
'CacheDeleteCount' => 0,
'CacheTagChecksumCount' => 37,
......@@ -162,7 +162,7 @@ protected function testAnonymous(): void {
$this->assertCountBetween(39, 40, $performance_data->getCacheTagIsValidCount());
$expected = [
'QueryCount' => 10,
'CacheGetCount' => 93,
'CacheGetCount' => 92,
'CacheSetCount' => 16,
'CacheDeleteCount' => 0,
'CacheTagInvalidationCount' => 0,
......@@ -198,7 +198,7 @@ protected function testAnonymous(): void {
$this->assertSame($expected_queries, $recorded_queries);
$expected = [
'QueryCount' => 14,
'CacheGetCount' => 78,
'CacheGetCount' => 77,
'CacheSetCount' => 17,
'CacheDeleteCount' => 0,
'CacheTagChecksumCount' => 23,
......@@ -254,7 +254,7 @@ protected function testLogin(): void {
$this->assertSame($expected_queries, $recorded_queries);
$expected = [
'QueryCount' => 17,
'CacheGetCount' => 84,
'CacheGetCount' => 82,
'CacheSetCount' => 1,
'CacheDeleteCount' => 1,
'CacheTagChecksumCount' => 1,
......@@ -311,7 +311,7 @@ protected function testLoginBlock(): void {
$this->assertSame($expected_queries, $recorded_queries);
$expected = [
'QueryCount' => 18,
'CacheGetCount' => 105,
'CacheGetCount' => 103,
'CacheSetCount' => 1,
'CacheDeleteCount' => 1,
'CacheTagChecksumCount' => 1,
......
......@@ -27,6 +27,7 @@ class PerformanceTestBase extends WebDriverTestBase {
protected function setUp(): void {
parent::setUp();
$this->doSetUpTasks();
\Drupal::service('module_installer')->uninstall(['automated_cron']);
}
/**
......
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