1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Run the loop fewer times

This test sometimes hangs when run a lot. As best as I can tell this
is a Ubuntu problem, rather than a gdb problem as it only fails on
Ubuntu 24.04, but I am not sure. I cannot reproduce the problem
when using the UI.

Part of #816
This commit is contained in:
Jonah Graham 2025-01-21 11:52:03 -05:00
parent a3fe42d7af
commit 259fb0f99d

View file

@ -225,7 +225,7 @@ public class ThreadStackFrameSyncTest extends BaseParametrizedTestCase {
final IFrameDMContext frame0 = SyncUtil.getStackFrame(1, 0);
// do a few of times
for (int i = 0; i < 50; i++) {
for (int i = 0; i < 10; i++) {
// have the sync service switch stack frame to 1
Query<MIInfo> query1 = new Query<>() {
@Override