8000 minor #38798 Fix transient tests on branch 4.4 (jderusse) · symfony/symfony@bc94b62 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc94b62

Browse files
minor #38798 Fix transient tests on branch 4.4 (jderusse)
This PR was merged into the 4.4 branch. Discussion ---------- Fix transient tests on branch 4.4 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Fix transient tests on branch 4.4. I'll keep this PR open few days to watch travis/GHA for transient tests Commits ------- 676b808 Fix transient tests
2 parents 19804e1 + 676b808 commit bc94b62

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Symfony/Component/Messenger/Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ public function testItReceivesSignals()
161161
$signalTime = microtime(true);
162162
$timedOutTime = time() + 10;
163163

164+
// wait for worker started and registered the signal handler
165+
usleep(100 * 1000); // 100ms
166+
164167
// immediately after the process has started "booted", kill it
165168
$process->signal(15);
166169

src/Symfony/Component/VarDumper/Tests/Dumper/ServerDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ private function getServerProcess(): Process
8989
'VAR_DUMPER_SERVER' => self::VAR_DUMPER_SERVER,
9090
]);
9191

92-
return $process->setTimeout(9);
92+
return $process->setTimeout('\\' === \DIRECTORY_SEPARATOR ? 19 : 9);
9393
}
9494
}

0 commit comments

Comments
 (0)
0