Skip to content

Commit f4a2037

Browse files
diagnosing a hang in github release action
1 parent 8814ae1 commit f4a2037

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎src/test/java/com/rae/formicapi/math_tests/gpu/GpuTestSupport.java‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,10 @@ public abstract class GpuTestSupport {
3232
@BeforeEach
3333
protected void setUpExecutor() {
3434
try {
35-
executor = Assertions.assertTimeoutPreemptively(Duration.ofSeconds(10), () -> {
36-
OpenCLGpuExecutor e = new OpenCLGpuExecutor();
37-
profiler = new GpuProfiler();
38-
e.setProfiler(profiler);
39-
return e;
40-
});
41-
} catch (RuntimeException | AssertionError e) {
35+
executor = new OpenCLGpuExecutor();
36+
profiler = new GpuProfiler();
37+
executor.setProfiler(profiler);
38+
} catch (Throwable e) {
4239
executor = null;
4340
profiler = null;
4441
Assumptions.assumeTrue(false, "Skipping GPU tests: no fp64-capable OpenCL device available (" + e.getMessage() + ")");

0 commit comments

Comments
 (0)