Increase stdlib-js mocha test timeouts to 10s
Some tests often do not fit into the default timeout when running tests in parallel on CI.
This commit is contained in:
@@ -7,7 +7,13 @@ plugins {
|
|||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
js(IR) {
|
js(IR) {
|
||||||
nodejs()
|
nodejs {
|
||||||
|
testTask {
|
||||||
|
useMocha {
|
||||||
|
timeout = "10s"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -348,6 +348,7 @@ task runMocha(type: NodeTask, dependsOn: [testClasses, installMocha, ':kotlin-te
|
|||||||
args = ['--reporter', 'min']
|
args = ['--reporter', 'min']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args += ['--timeout', '10s']
|
||||||
args += [jsTestOutputFile, kotlinTestJsTestOutputFile]
|
args += [jsTestOutputFile, kotlinTestJsTestOutputFile]
|
||||||
|
|
||||||
execOverrides {
|
execOverrides {
|
||||||
|
|||||||
Reference in New Issue
Block a user