Skip to content

Commit ca8383f

Browse files
committed
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
1 parent 637a615 commit ca8383f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/nonstop/ThreadStackFrameSyncTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public void testGdbSyncServiceCanSwitchGDBStackFrame() throws Throwable {
225225
final IFrameDMContext frame0 = SyncUtil.getStackFrame(1, 0);
226226

227227
// do a few of times
228-
for (int i = 0; i < 50; i++) {
228+
for (int i = 0; i < 10; i++) {
229229
// have the sync service switch stack frame to 1
230230
Query<MIInfo> query1 = new Query<>() {
231231
@Override

0 commit comments

Comments
 (0)