Skip to content

Commit

Permalink
[GR-7689] Fix of ThreadsEventsTest.testGetStartedThreads.
Browse files Browse the repository at this point in the history
PullRequest: graal/964
  • Loading branch information
entlicher committed Jan 31, 2018
2 parents cd7dfc8 + 23d1ddf commit e5bea41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void testGetStartedThreads() throws Exception {
TestThreadsInstrument.includeStartedThreads = true;
final List<ThreadEvent> events;
try (Context context = Context.newBuilder().allowCreateThread(true).build()) {
context.eval(Source.create(InstrumentationTestLanguage.ID, "ROOT(DEFINE(f1, EXPRESSION), SPAWN(f1))"));
context.eval(Source.create(InstrumentationTestLanguage.ID, "ROOT(DEFINE(f1, EXPRESSION), SPAWN(f1), JOIN())"));
Instrument testBlockOnStatementsInstrument = context.getEngine().getInstruments().get("testBlockOnStatementsInstrument");
TestBlockOnStatementsInstrument testBlock = testBlockOnStatementsInstrument.lookup(TestBlockOnStatementsInstrument.class);
CountDownLatch latch = new CountDownLatch(1);
Expand Down

0 comments on commit e5bea41

Please sign in to comment.