Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ void testProfileTransaction() throws Exception {
try (Scope scope = tx.makeCurrent()) {
// makes sure that the rest will be captured by another profiling session
// this tests that restoring which threads to profile works
Thread.sleep(600);
int currentSession = setup.profiler.getProfilingSessions();
await().until(() -> setup.profiler.getProfilingSessions() > currentSession);
profilingActiveOnThread = setup.profiler.isProfilingActiveOnThread(Thread.currentThread());
aInferred(tracer);
} finally {
Expand Down