- Issue created by @catch
- π³π±Netherlands spokje
https://git.drupalcode.org/issue/drupal-3390360/-/jobs/2484193 shows 4 failures in 1500x only
Drupal\Tests\block\Functional\BlockCacheTest::testCachePermissions
(MR here: https://git.drupalcode.org/project/drupal/-/merge_requests/9253/diffs).So it _could_ be happening more often due to timing issues when running along other tests, running this test alone (although *often*) would trigger it.
- Assigned to spokje
- Merge request !9810Draft: Run only \Drupal\Tests\block\Functional\BlockCacheTest::testCachePermissions... β (Open) created by spokje
- πΊπΈUnited States dww
See also https://git.drupalcode.org/issue/drupal-2630732/-/jobs/3310474 for related fails in
BlockCacheTest::testCachePerPage()
- π³π±Netherlands spokje
spokje β changed the visibility of the branch 3468830-random-test-failure to hidden.
- π³π±Netherlands spokje
Should be solved by π [random test failure] LayoutBuilderBlocksTest::testBlockPlaceholder failing Active
- Merge request !10698Draft: Resolve #3468830 "2500x blockcachetest testcachepermissions as is" β (Closed) created by spokje
- π³π±Netherlands spokje
spokje β changed the visibility of the branch 11.x to hidden.
- Merge request !10699Draft: Resolve #3468830 "2500x blockcachetest testcachepermissions key value" β (Closed) created by spokje
- π³π±Netherlands spokje
MR !10698 (which is basically
\Drupal\Tests\block\Functional\BlockCacheTest
trimmed down to only containtestCachePermissions()
and some pipeline changes to make it, and only it, run 2500 times) gives us 8 fails out of the 2500 runs.
MR !10699 shows that changing \Drupal::state()->set()/get() to Drupal::keyValue()->set()/get(); as suggested in the Slack thread passes a 2500 times run without errors.Which shows to me that when π [random test failure] LayoutBuilderBlocksTest::testBlockPlaceholder failing Active lands, this issue should be solved.
Re #7, π [random test failure] LayoutBuilderBlocksTest::testBlockPlaceholder failing Active also makes changes for that method, so the random failures there also should be gone.
- π³π±Netherlands spokje
Should be fixed with the commit of π [random test failure] LayoutBuilderBlocksTest::testBlockPlaceholder failing Active
Automatically closed - issue fixed for 2 weeks with no activity.