Skip to content

Commit 72e7805

Browse files
committed
fix CI issues for 242-251
1 parent 4b02372 commit 72e7805

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/intellij/IdeVersions.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ object IdeVersions {
7575
marketplacePlugins = listOf(
7676
"org.toml.lang:243.21565.122",
7777
"PythonCore:243.21565.211",
78-
"Docker:243.21565.204"
78+
"Docker:243.21565.204",
79+
"com.intellij.modules.json:243.26574.91"
7980
)
8081
),
8182
ultimate = ProductProfile(
@@ -90,6 +91,7 @@ object IdeVersions {
9091
"org.toml.lang:243.21565.122",
9192
"Pythonid:243.21565.211",
9293
"org.jetbrains.plugins.go:243.21565.211",
94+
"com.intellij.modules.json:243.26574.91"
9395
)
9496
),
9597
rider = RiderProfile(
@@ -115,7 +117,8 @@ object IdeVersions {
115117
),
116118
marketplacePlugins = listOf(
117119
"PythonCore:251.23774.460",
118-
"Docker:251.23774.466"
120+
"Docker:251.23774.466",
121+
"com.intellij.modules.json:251.27812.12"
119122
)
120123
),
121124
ultimate = ProductProfile(
@@ -129,6 +132,7 @@ object IdeVersions {
129132
marketplacePlugins = listOf(
130133
"Pythonid:251.23774.460",
131134
"org.jetbrains.plugins.go:251.23774.435",
135+
"com.intellij.modules.json:251.27812.12"
132136
)
133137
),
134138
rider = RiderProfile(

plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/AwsResourceCacheTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import com.intellij.testFramework.RuleChain
99
import kotlinx.coroutines.ExperimentalCoroutinesApi
1010
import kotlinx.coroutines.delay
1111
import kotlinx.coroutines.runBlocking
12-
import kotlinx.coroutines.test.runBlockingTest
12+
import kotlinx.coroutines.test.runTest
1313
import org.assertj.core.api.Assertions.assertThat
1414
import org.assertj.core.api.Assertions.assertThatThrownBy
1515
import org.junit.Before
@@ -484,7 +484,7 @@ class AwsResourceCacheTest {
484484
whenever(mockResource.fetch(any())).then {
485485
latch.await()
486486
// exception gets thrown fast enough where the second fetchIfNeeded check occurs after the first call throws
487-
runBlockingTest {
487+
runTest {
488488
delay(500)
489489
}
490490
throw RuntimeException("Boom")

plugins/toolkit/jetbrains-gateway/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import org.jetbrains.intellij.platform.gradle.TestFrameworkType
77
import org.jetbrains.intellij.platform.gradle.tasks.PrepareSandboxTask
88
import org.jetbrains.kotlin.gradle.internal.ensureParentDirsCreated
99
import software.aws.toolkits.gradle.intellij.IdeFlavor
10-
import software.aws.toolkits.gradle.intellij.toolkitIntelliJ
1110
import kotlin.io.encoding.Base64
1211

1312
plugins {

plugins/toolkit/jetbrains-gateway/src/software/aws/toolkits/jetbrains/gateway/connection/workflow/StartBackend.kt

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,18 @@ class StartBackend(
5252
LinkedClientManager.getInstance().startNewClient(
5353
lifetime,
5454
localLink,
55-
URLEncoder.encode(message("caws.workspace.backend.title"), Charsets.UTF_8)
56-
) {
57-
CodecatalystTelemetry.devEnvironmentWorkflowStatistic(
58-
project = null,
59-
userId = lazilyGetUserId(),
60-
result = TelemetryResult.Succeeded,
61-
duration = System.currentTimeMillis() - start.toDouble(),
62-
codecatalystDevEnvironmentWorkflowStep = "startThinClient",
63-
)
64-
}
55+
URLEncoder.encode(message("caws.workspace.backend.title"), Charsets.UTF_8),
56+
onStarted = {
57+
CodecatalystTelemetry.devEnvironmentWorkflowStatistic(
58+
project = null,
59+
userId = lazilyGetUserId(),
60+
result = TelemetryResult.Succeeded,
61+
duration = System.currentTimeMillis() - start.toDouble(),
62+
codecatalystDevEnvironmentWorkflowStep = "startThinClient",
63+
)
64+
},
65+
enableBeforeRunHooks = true
66+
)
6567
} catch (e: Throwable) {
6668
CodecatalystTelemetry.devEnvironmentWorkflowStatistic(
6769
project = null,

0 commit comments

Comments
 (0)