From d9d886b4de7aa506752ac97480f534e50d90e4a7 Mon Sep 17 00:00:00 2001 From: Alex Vanyo Date: Tue, 22 Jun 2021 11:57:09 -0500 Subject: [PATCH] Remove racing assertion from Deferred --- integration/kotlinx-coroutines-play-services/test/TaskTest.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/integration/kotlinx-coroutines-play-services/test/TaskTest.kt b/integration/kotlinx-coroutines-play-services/test/TaskTest.kt index b243ff733e..b125192e93 100644 --- a/integration/kotlinx-coroutines-play-services/test/TaskTest.kt +++ b/integration/kotlinx-coroutines-play-services/test/TaskTest.kt @@ -193,7 +193,6 @@ class TaskTest : TestBase() { assertTrue(e is CancellationException) } assertTrue(cancellationTokenSource.token.isCancellationRequested) - assertTrue(task.isCanceled) } @Test @@ -211,7 +210,6 @@ class TaskTest : TestBase() { assertTrue(e is CancellationException) } assertTrue(cancellationTokenSource.token.isCancellationRequested) - assertTrue(task.isCanceled) } @Test @@ -223,7 +221,6 @@ class TaskTest : TestBase() { cancellationTokenSource.cancel() assertTrue(cancellationTokenSource.token.isCancellationRequested) - assertFalse(task.isCanceled) } @Test