mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-16 15:40:14 +00:00
GP-0: Fix testSynchronizeFocusTraceToModel
This commit is contained in:
parent
46c3443afb
commit
99f9464f19
@ -329,7 +329,7 @@ public class DebuggerTraceManagerServiceTest extends AbstractGhidraHeadedDebugge
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSynchronizeFocusTraceToModel() throws Exception {
|
||||
public void testSynchronizeFocusTraceToModel() throws Throwable {
|
||||
assertTrue(traceManager.isSynchronizeFocus());
|
||||
|
||||
createTestModel();
|
||||
@ -340,8 +340,7 @@ public class DebuggerTraceManagerServiceTest extends AbstractGhidraHeadedDebugge
|
||||
Trace trace = recorder.getTrace();
|
||||
|
||||
waitForValue(() -> modelService.getTarget(trace));
|
||||
// TODO: Fragile. This depends on the recorder advancing the snap for each thread
|
||||
waitForPass(() -> assertEquals(2, trace.getTimeManager().getSnapshotCount()));
|
||||
waitRecorder(recorder);
|
||||
|
||||
traceManager.openTrace(trace);
|
||||
waitForSwing();
|
||||
|
Loading…
Reference in New Issue
Block a user