We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689c70a commit 3eb9ba3Copy full SHA for 3eb9ba3
pkg/test/RetryTrait.php
@@ -4,6 +4,7 @@
4
5
use PHPUnit\Framework\IncompleteTestError;
6
use PHPUnit\Framework\SkippedTestError;
7
+use PHPUnit\Util\Test;
8
9
trait RetryTrait
10
{
@@ -46,7 +47,7 @@ public function runBare(): void
46
47
*/
48
private function getNumberOfRetries()
49
- $annotations = $this->getAnnotations();
50
+ $annotations = Test::parseTestMethodAnnotations(static::class, $this->getName(false));
51
52
if (isset($annotations['method']['retry'][0])) {
53
return $annotations['method']['retry'][0];
0 commit comments