Skip to content

Commit c1b2449

Browse files
committed
Increase request attempt number in order to avoid flakyness when sidecar is enabled.
1 parent 768ec98 commit c1b2449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Common/TracerTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ public function retrieveDumpedData(callable $until = null, $throw = false)
441441
// When tests run with the background sender enabled, there might be some delay between when a trace is flushed
442442
// and actually sent. While we should find a smart way to tackle this, for now we do it quick and dirty, in a
443443
// for loop.
444-
for ($attemptNumber = 1; $attemptNumber <= 20; $attemptNumber++) {
444+
for ($attemptNumber = 1; $attemptNumber <= 50; $attemptNumber++) {
445445
$curl = curl_init(self::$agentRequestDumperUrl . '/replay');
446446
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
447447
// Retrieving data

0 commit comments

Comments
 (0)