Skip to content

Commit 8cc41e8

Browse files
committed
[Temp] Add sleep between tests to analyze the issue.
1 parent a715757 commit 8cc41e8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/src/test/scala/org/apache/openwhisk/core/limits/ActionLimitsTests.scala

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,15 @@ import org.apache.openwhisk.core.entity.{
5151
}
5252
import org.apache.openwhisk.core.entity.size._
5353
import org.apache.openwhisk.http.Messages
54+
import org.scalatest.BeforeAndAfterAll
5455

5556
@RunWith(classOf[JUnitRunner])
56-
class ActionLimitsTests extends TestHelpers with WskTestHelpers with WskActorSystem with TimingHelpers {
57+
class ActionLimitsTests
58+
extends TestHelpers
59+
with WskTestHelpers
60+
with WskActorSystem
61+
with TimingHelpers
62+
with BeforeAndAfterAll {
5763

5864
implicit val wskprops = WskProps()
5965
val wsk = new WskRestOperations
@@ -77,6 +83,10 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers with WskActorSys
7783
// * With Docker 18.09.3, we observed test failures and changed to "openFileLimit - 24".
7884
val minExpectedOpenFiles = openFileLimit - 24
7985

86+
override protected def beforeAll(): Unit = {
87+
Thread.sleep(60000);
88+
}
89+
8090
behavior of "Action limits"
8191

8292
/**

0 commit comments

Comments
 (0)