Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!4425
Issue
#3375584
: [random test failure] Random failure in PathWorkspacesTest
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3375584
: [random test failure] Random failure in PathWorkspacesTest
issue/drupal-3375584:3375584-random-test-failure
into
11.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Open
Issue #3375584: [random test failure] Random failure in PathWorkspacesTest
znerol
requested to merge
issue/drupal-3375584:3375584-random-test-failure
into
11.x
Jul 20, 2023
Overview
0
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
11.x
version 1
afee70b6
Jul 20, 2023
11.x (HEAD)
and
latest version
latest version
d2c164f6
2 commits,
Jul 20, 2023
version 1
afee70b6
1 commit,
Jul 20, 2023
1 file
+
10
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
+
10
−
0
View file @ 6be67023
Edit in single-file editor
Open in Web IDE
Show full file
@@ -116,6 +116,11 @@ public function testPathAliases(): void {
// Publish the workspace and check that the alias can be accessed in Live.
$stage
->
publish
();
$this
->
assertAccessiblePaths
([
$path
]);
// The \Drupal\path_alias\AliasWhitelist service performs cache clears after
// Drupal has flushed the response to the client; wait for this to finish.
sleep
(
1
);
$this
->
assertNotEmpty
(
\Drupal
::
cache
(
'data'
)
->
get
(
'preload-paths:/node/1'
));
}
@@ -159,6 +164,11 @@ public function testPathAliasesUserSwitch(): void {
$this
->
drupalLogout
();
$this
->
assertAccessiblePaths
([
$path
]);
// The \Drupal\path_alias\AliasWhitelist service performs cache clears after
// Drupal has flushed the response to the client; wait for this to finish.
sleep
(
1
);
$this
->
assertNotEmpty
(
\Drupal
::
cache
(
'data'
)
->
get
(
'preload-paths:/node/1'
));
}
Loading