Skip to content

Commit 1f39d10

Browse files
authored
[IA-4727] Set runtime creation timeout to 25m on Azure tests (#4012)
1 parent ef08790 commit 1f39d10

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/azure/AzureAutopauseSpec.scala

+4-3
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@ class AzureAutopauseSpec
7070
s"AzureAutoPauseSpec: runtime $workspaceId/${runtimeName.asString} in creating status detected"
7171
)
7272

73-
// Verify the runtime eventually becomes Running (in 20 minutes)
73+
// Verify the runtime eventually becomes Running (in 25 minutes)
74+
// will reduce to 20 once https://broadworkbench.atlassian.net/browse/WOR-1397 is merged
7475
monitorCreateResult <- streamUntilDoneOrTimeout(
7576
callGetRuntime,
76-
120,
77+
150,
7778
10 seconds,
78-
s"AzureAutoPauseSpec: runtime $workspaceId/${runtimeName.asString} did not finish creating after 20 minutes"
79+
s"AzureAutoPauseSpec: runtime $workspaceId/${runtimeName.asString} did not finish creating after 25 minutes"
7980
)(implicitly, GeneratedLeonardoClient.runtimeInStateOrError(ClusterStatus.RUNNING))
8081

8182
_ <- loggerIO.info(

automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/azure/AzureDiskSpec.scala

+8-6
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ class AzureDiskSpec
8282
s"AzureDiskSpec: disk ${workspaceId}/${diskDuringRuntimeCreate.getId()} in creating status detected"
8383
)
8484

85-
// Verify the runtime eventually becomes Running (in 40 minutes)
85+
// Verify the runtime eventually becomes Running (in 25 minutes)
86+
// will reduce to 20 once https://broadworkbench.atlassian.net/browse/WOR-1397 is merged
8687
monitorCreateResult <- streamUntilDoneOrTimeout(
8788
callGetRuntime,
88-
240,
89+
150,
8990
10 seconds,
90-
s"AzureDiskSpec: runtime ${workspaceId}/${runtimeName.asString} did not finish creating after 40 minutes"
91+
s"AzureDiskSpec: runtime ${workspaceId}/${runtimeName.asString} did not finish creating after 25 minutes"
9192
)(implicitly, GeneratedLeonardoClient.runtimeInStateOrError(ClusterStatus.RUNNING))
9293

9394
_ <- loggerIO.info(
@@ -185,12 +186,13 @@ class AzureDiskSpec
185186
s"AzureDiskSpec: disk2 ${workspaceId}/${diskDuringRuntimeCreate2.getId()} in creating status detected"
186187
)
187188

188-
// Verify runtime 2 eventually becomes Running (in 40 minutes)
189+
// Verify runtime 2 eventually becomes Running (in 25 minutes)
190+
// will reduce to 20 once https://broadworkbench.atlassian.net/browse/WOR-1397 is merged
189191
monitorCreateResult2 <- streamUntilDoneOrTimeout(
190192
callGetRuntime2,
191-
240,
193+
150,
192194
10 seconds,
193-
s"AzureDiskSpec: runtime2 ${workspaceId}/${runtimeName.asString} did not finish creating after 40 minutes"
195+
s"AzureDiskSpec: runtime2 ${workspaceId}/${runtimeName.asString} did not finish creating after 25 minutes"
194196
)(implicitly, GeneratedLeonardoClient.runtimeInStateOrError(ClusterStatus.RUNNING))
195197

196198
_ <- loggerIO.info(

automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/azure/AzureRuntimeSpec.scala

+4-3
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,13 @@ class AzureRuntimeSpec
8181
s"AzureRuntimeSpec: disk ${workspaceId}/${diskDuringRuntimeCreate.getId()} in creating status detected"
8282
)
8383

84-
// Verify the runtime eventually becomes Running (in 40 minutes)
84+
// Verify the runtime eventually becomes Running (in 25 minutes)
85+
// will reduce to 20 once https://broadworkbench.atlassian.net/browse/WOR-1397 is merged
8586
monitorCreateResult <- streamUntilDoneOrTimeout(
8687
callGetRuntime,
87-
240,
88+
150,
8889
10 seconds,
89-
s"AzureRuntimeSpec: runtime ${workspaceId}/${runtimeName.asString} did not finish creating after 40 minutes"
90+
s"AzureRuntimeSpec: runtime ${workspaceId}/${runtimeName.asString} did not finish creating after 25 minutes"
9091
)(implicitly, GeneratedLeonardoClient.runtimeInStateOrError(ClusterStatus.RUNNING))
9192

9293
_ <- loggerIO.info(

0 commit comments

Comments
 (0)