Skip to content

asCompletableFuture hangs  #469

Closed
Closed
@qwwdfsad

Description

@qwwdfsad
class CompletableFutureTest {
    @Test
    fun testFailAsCompletableFuture() {

        val executeJob = async {
            fail("Test failed predictably")
        }

        val future = executeJob.asCompletableFuture()
        println("### asCompletableFuture")
        future.get()
        println("### Execute job completed!")
    }
}

Sometimes hangs.
Reported by Jonathan Walsh.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions