Unverified Commit 08d8a27a authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3511123 by catch, berdir: Remove cache tag checksum assertions from performance tests

parent 1a5a1253
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -88,9 +88,8 @@ public function testLogin(): void {
        'dynamic_page_cache' => 2,
      ],
      'CacheDeleteCount' => 0,
      'CacheTagChecksumCount' => 3,
      'CacheTagIsValidCount' => 30,
      'CacheTagInvalidationCount' => 0,
      'CacheTagLookupQueryCount' => 20,
      'ScriptCount' => 2,
      'ScriptBytes' => 215500,
      'StylesheetCount' => 1,
+0 −2
Original line number Diff line number Diff line
@@ -74,8 +74,6 @@ public function testTopBarPerformance(): void {
      'CacheGetCount' => $performance_data_before_top_bar->getCacheGetCount(),
      'CacheSetCount' => $performance_data_before_top_bar->getCacheSetCount(),
      'CacheDeleteCount' => $performance_data_before_top_bar->getCacheDeleteCount(),
      'CacheTagChecksumCount' => $performance_data_before_top_bar->getCacheTagChecksumCount(),
      'CacheTagIsValidCount' => $performance_data_before_top_bar->getCacheTagIsValidCount(),
      'CacheTagInvalidationCount' => $performance_data_before_top_bar->getCacheTagInvalidationCount(),
    ], $performance_data_after_top_bar);
  }
+0 −2
Original line number Diff line number Diff line
@@ -61,8 +61,6 @@ public function testFrontPageAuthenticatedWarmCache(): void {
      ],
      'CacheSetCount' => 0,
      'CacheDeleteCount' => 0,
      'CacheTagChecksumCount' => 0,
      'CacheTagIsValidCount' => 10,
      'CacheTagInvalidationCount' => 0,
      'CacheTagLookupQueryCount' => 2,
      'ScriptCount' => 1,
+0 −2
Original line number Diff line number Diff line
@@ -73,8 +73,6 @@ protected function testFrontPageHotCache(): void {
      'CacheGetCount' => 1,
      'CacheSetCount' => 0,
      'CacheDeleteCount' => 0,
      'CacheTagChecksumCount' => 0,
      'CacheTagIsValidCount' => 1,
      'CacheTagInvalidationCount' => 0,
      'CacheTagLookupQueryCount' => 1,
      'ScriptCount' => 1,
+1 −2
Original line number Diff line number Diff line
@@ -66,8 +66,7 @@ protected function testNodePageHotCache(): void {
      'CacheGetCount' => 1,
      'CacheSetCount' => 0,
      'CacheDeleteCount' => 0,
      'CacheTagChecksumCount' => 0,
      'CacheTagIsValidCount' => 1,
      'CacheTagLookupQueryCount' => 1,
    ];
    $this->assertMetrics($expected, $performance_data);
  }
Loading