Skip to content

Commit

Permalink
Run the loop fewer times
Browse files Browse the repository at this point in the history
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 eclipse-cdt#816
  • Loading branch information
jonahgraham committed Jan 21, 2025
1 parent 637a615 commit ca8383f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public void testGdbSyncServiceCanSwitchGDBStackFrame() throws Throwable {
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
Expand Down

0 comments on commit ca8383f

Please sign in to comment.