Skip to content

Commit

Permalink
Disable flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schlaubi authored and schlaubi committed Jan 29, 2024
1 parent 06cc551 commit f66eb95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rest/src/commonTest/kotlin/request/MessageRequests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import dev.kord.common.entity.Snowflake
import dev.kord.common.entity.optional.Optional
import dev.kord.rest.json.readFile
import dev.kord.rest.service.ChannelService
import dev.kord.test.IgnoreOnSimulatorPlatforms
import dev.kord.test.Platform
import io.ktor.client.*
import io.ktor.client.engine.mock.*
Expand Down Expand Up @@ -52,6 +53,7 @@ private val mockMessage = DiscordMessage(
class MessageRequests {
@Test
@JsName("test1")
@IgnoreOnSimulatorPlatforms
fun `attachment channel is read and closed lazily`() = runTest {

val mockEngine = MockEngine { request ->
Expand Down
2 changes: 2 additions & 0 deletions rest/src/commonTest/kotlin/request/StackTraceRecoveryTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package dev.kord.rest.request

import dev.kord.rest.json.response.GatewayResponse
import dev.kord.rest.route.Route
import dev.kord.test.IgnoreOnSimulatorPlatforms
import io.ktor.client.*
import io.ktor.client.engine.mock.*
import io.ktor.http.*
Expand All @@ -15,6 +16,7 @@ expect class StackTraceElement
expect fun currentThreadStackTrace(): StackTraceElement
internal expect fun RecoveredStackTrace.validate(expected: StackTraceElement)

@IgnoreOnSimulatorPlatforms
class StackTraceRecoveryTest {

@Test
Expand Down

0 comments on commit f66eb95

Please sign in to comment.