From c15d6e7d7e6a4ce289e92be3b97be5096ce54feb Mon Sep 17 00:00:00 2001 From: Rd Date: Sat, 29 Jun 2024 10:55:59 +0530 Subject: [PATCH] Trying out other unit of processTimeout value --- .../org/oppia/android/scripts/coverage/RunCoverageTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt b/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt index a02423abca6..53bede05415 100644 --- a/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt +++ b/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt @@ -193,8 +193,8 @@ class RunCoverageTest { main( "${tempFolder.root}", "coverage/main/java/com/example/TwoSum.kt", - "format=html", - "processTimeout=10" + "processTimeout=10", + "format=html" ) val outputReport = File( @@ -2278,7 +2278,7 @@ class RunCoverageTest { private fun initializeCommandExecutorWithLongProcessWaitTime(): CommandExecutorImpl { return CommandExecutorImpl( - scriptBgDispatcher, processTimeout = 10, processTimeoutUnit = TimeUnit.MINUTES + scriptBgDispatcher, processTimeout = 240_000L, processTimeoutUnit = TimeUnit.MILLISECONDS ) } }