Skip to content

Commit a3a2bcb

Browse files
committed
Windows timers have less resolution, increase amount
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
1 parent 92fe6c4 commit a3a2bcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/ext/live-debugger/debugger_log_probe_capture_timeout.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ await_probe_installation(function() {
2929
\DDTrace\start_span();
3030
});
3131

32-
// 2-level array: 100 outer x 100 inner strings (100-char each)
33-
// ~10,000 capture operations: reliably exceeds the 1ms CPU-time timeout
32+
// 2-level array: 1000 outer x 100 inner strings (100-char each)
33+
// ~100,000 capture operations: reliably exceeds the 1ms CPU-time timeout
3434
// Sentinel is at the very last position [99][99]
3535
$data = [];
3636
for ($i = 0; $i < 99; $i++) {
3737
$data[] = array_fill(0, 100, str_repeat('x', 100));
3838
}
39-
$last = array_fill(0, 99, str_repeat('x', 100));
39+
$last = array_fill(0, 999, str_repeat('x', 100));
4040
$last[] = 'LAST_SENTINEL';
4141
$data[] = $last;
4242

0 commit comments

Comments
 (0)