Skip to content

Commit de98d00

Browse files
author
jbachorik
committed
no need to check the snapshot in multithread test; it's only a sanity test
1 parent 15560a7 commit de98d00

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/test/com/sun/btrace/profiling/MethodInvocationProfilerTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,9 @@ public void run() {
425425
Thread.sleep(13);
426426
}
427427

428-
p.recordEntry("r1");
429-
p.recordExit("r1", 10);
428+
finished.set(true);
430429

431-
Snapshot s = p.snapshot();
432-
assertArrayEquals(expected, s.total);
430+
t.join();
433431
}
434432

435433
@Test

0 commit comments

Comments
 (0)