Skip to content

Commit

Permalink
Enable linuxArm64 & disable broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jan 30, 2024
1 parent 83d8ac9 commit d528926
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/kord-native-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ kotlin {
// Please use WSL if you need to work on the linux port
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
linuxX64()
// Waiting for Ktor
// https://youtrack.jetbrains.com/issue/KTOR-6173
//linuxArm64()
linuxArm64()
}

if (name != "voice" && name != "core-voice") {
Expand Down
3 changes: 3 additions & 0 deletions core/src/commonTest/kotlin/performance/KordEventDropTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import dev.kord.gateway.*
import dev.kord.gateway.builder.Shards
import dev.kord.rest.request.KtorRequestHandler
import dev.kord.rest.service.RestClient
import dev.kord.test.IgnoreOnNative
import io.ktor.client.*
import kotlinx.atomicfu.atomic
import kotlinx.coroutines.CompletableDeferred
Expand Down Expand Up @@ -63,6 +64,8 @@ class KordEventDropTest {
)

@Test
// This test seems to timeout sometimes on native
@IgnoreOnNative
@JsName("test1")
fun `hammering the gateway does not drop core events`() = runTest {
val amount = 1_000
Expand Down

0 comments on commit d528926

Please sign in to comment.