Skip to content

Commit 53f8800

Browse files
Debug dump cancellation logic.
1 parent e992b65 commit 53f8800

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle/dump_hanging_test.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ tasks.withType(Test).configureEach { testTask ->
6868
}, delayMinutes, TimeUnit.MINUTES)
6969

7070
// Store handles for cancellation in doLast.
71+
if (testTask.ext.dumpFuture != null) {
72+
logger.warn("Found dumpFuture is not null: ${testTask.getPath()}")
73+
}
74+
75+
logger.warn("Saving objects for: ${testTask.getPath()}")
7176
testTask.ext.dumpFuture = future
7277
testTask.ext.dumpScheduler = scheduler
7378
}

0 commit comments

Comments
 (0)