Skip to content

Commit 1360e9b

Browse files
committed
disable two flaky tests
1 parent ed28d28 commit 1360e9b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/commonTest/kotlin/com.adamratzman/spotify/priv/ClientShowApiTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class ClientShowApiTest : AbstractTest<SpotifyClientApi>() {
3838
assertEquals(listOf("Freakonomics Radio"), api.shows.getShows("6z4NLXyHPga1UmSJsPK7G1").map { it?.name })
3939
}
4040

41-
@Test
41+
//@Test
42+
//todo re-enable. Flaky test disabled due to infrequent spotify 500s
4243
fun testGetShowEpisodes(): TestResult = runTestOnDefaultDispatcher {
4344
buildApi<SpotifyClientApi>(::testGetShowEpisodes.name)
4445
if (!isApiInitialized()) return@runTestOnDefaultDispatcher

src/commonTest/kotlin/com.adamratzman/spotify/pub/EpisodeApiTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class EpisodeApiTest : AbstractTest<GenericSpotifyApi>() {
2626
)
2727
}
2828

29-
@Test
29+
//@Test
30+
//todo re-enable. Flaky test disabled due to infrequent spotify 500s
3031
fun testGetEpisodes(): TestResult = runTestOnDefaultDispatcher {
3132
buildApi(::testGetEpisodes.name)
3233

0 commit comments

Comments
 (0)