File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
software/aws/toolkits/jetbrains/services/lambda Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ abstract class AwsReuseSolutionTestBase : BaseTestWithSolutionBase() {
76
76
GeneralSettings .getInstance().isConfirmExit = false
77
77
78
78
val params = OpenSolutionParams ()
79
+ params.backendLoadedTimeout = backendStartTimeout
79
80
params.customSolutionName = getCustomSolutionFileName()
80
81
params.preprocessTempDirectory = { preprocessTempDirectory(it) }
81
82
params.persistCaches = persistCaches
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ import com.intellij.util.text.SemVer
12
12
import com.jetbrains.rider.test.base.PrepareTestEnvironment
13
13
import java.io.File
14
14
import java.nio.file.Paths
15
+ import java.time.Duration
16
+
17
+ // sometimes Windows Rider tests time out while starting the backend
18
+ val backendStartTimeout = Duration .ofMinutes(3 )
15
19
16
20
val versions by lazy {
17
21
// would be nice if this were json https://github.com/dotnet/runtime/issues/3049
Original file line number Diff line number Diff line change 4
4
package software.aws.toolkits.jetbrains.services.lambda.completion
5
5
6
6
import base.allowCustomDotnetRoots
7
+ import base.backendStartTimeout
7
8
import com.intellij.openapi.util.IconLoader
8
9
import com.jetbrains.rd.ide.model.IconModel
9
10
import com.jetbrains.rider.test.annotations.TestEnvironment
10
11
import com.jetbrains.rider.test.base.BaseTestWithSolution
11
12
import org.assertj.core.api.Assertions.assertThat
12
13
import org.testng.annotations.BeforeSuite
13
14
import org.testng.annotations.Test
15
+ import java.time.Duration
14
16
15
17
class DotNetHandlerCompletionTest : BaseTestWithSolution () {
18
+ override val backendLoadedTimeout: Duration = backendStartTimeout
16
19
17
20
override fun getSolutionDirectoryName (): String = " "
18
21
Original file line number Diff line number Diff line change 3
3
4
4
package software.aws.toolkits.jetbrains.services.lambda.dotnet
5
5
6
+ import base.backendStartTimeout
6
7
import com.jetbrains.rdclient.testFramework.waitForDaemon
7
8
import com.jetbrains.rider.projectView.solution
8
9
import com.jetbrains.rider.test.base.BaseTestWithMarkup
9
10
import org.testng.annotations.DataProvider
10
11
import org.testng.annotations.Test
11
12
import software.aws.toolkits.jetbrains.protocol.awsSettingModel
13
+ import java.time.Duration
12
14
13
15
class LambdaGutterMarkHighlightingTest : BaseTestWithMarkup () {
14
16
15
17
companion object {
16
18
private const val LAMBDA_RUN_MARKER_ATTRIBUTE_ID = " AWS Lambda Run Method Gutter Mark"
17
19
}
18
20
21
+ override val backendLoadedTimeout: Duration = backendStartTimeout
22
+
19
23
override fun getSolutionDirectoryName (): String = " SamHelloWorldApp"
20
24
21
25
@Test
You can’t perform that action at this time.
0 commit comments