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
4 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #400158 passed with warnings
Pipeline: drupal

#400169

    Pipeline: drupal

    #400165

      Pipeline: drupal

      #400160

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