aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat@beresnev.me>2022-02-14 10:48:38 +0300
committerGitHub <noreply@github.com>2022-02-14 10:48:38 +0300
commita43e11e08d57bd898efc72d6db94ed3d4b01f74f (patch)
tree5949ef8a2c26c5b65a64ad4b777081860deec6d9 /plugins
parent019cef47f1bf993a7a25ec73e88b1d9da25528eb (diff)
downloaddokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.tar.gz
dokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.tar.bz2
dokka-a43e11e08d57bd898efc72d6db94ed3d4b01f74f.zip
Shutdown coroutines dispatchers after each module pass (#2325)
* Update kotlinx.coroutines to 1.6.0 * Shutdown common coroutines dispatchers after each module pass * Don't finalize coroutines in unit tests Co-authored-by: Mikhail Zarechenskiy <mikhail.zarechenskiy@jetbrains.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt3
-rw-r--r--plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
index 9b88a170..13892408 100644
--- a/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
+++ b/plugins/base/src/test/kotlin/renderers/html/HtmlRenderingOnlyTestBase.kt
@@ -43,7 +43,8 @@ abstract class HtmlRenderingOnlyTestBase : RenderingOnlyTestBase<Element>() {
val files = TestOutputWriter()
open val configuration = DokkaConfigurationImpl(
- sourceSets = listOf(js, jvm, native)
+ sourceSets = listOf(js, jvm, native),
+ finalizeCoroutines = false
)
override val context = MockContext(
diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt
index 1fa78423..46348849 100644
--- a/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt
+++ b/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt
@@ -21,7 +21,7 @@ abstract class GfmRenderingOnlyTestBase : RenderingOnlyTestBase<String>() {
DokkaBase().externalLocationProviderFactory to ::DefaultExternalLocationProviderFactory,
GfmPlugin().gfmPreprocessors to { RootCreator },
- testConfiguration = DokkaConfigurationImpl(moduleName = "root")
+ testConfiguration = DokkaConfigurationImpl(moduleName = "root", finalizeCoroutines = false)
)
override val renderedContent: String by lazy {