Skip to content

Commit 04268f6

Browse files
committed
remove unnecessary test
1 parent 5ad33ea commit 04268f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/kotlin/com/adamratzman/spotify/utilities/HttpConnectionTests.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */
22
package com.adamratzman.spotify.utilities
33

4-
import com.adamratzman.spotify.api
54
import com.adamratzman.spotify.http.HttpConnection
65
import com.adamratzman.spotify.http.HttpRequestMethod
76
import org.json.JSONObject
@@ -107,16 +106,17 @@ class HttpConnectionTests : Spek({
107106
)
108107
}
109108

110-
it("retry") {
109+
/* (it("retry") {
111110
api.useCache = false
112111
api.retryWhenRateLimited = true
113112
api.clearCache()
114-
for (it in 1..250) {
113+
for (it in 1..2500) {
114+
println(System.currentTimeMillis())
115115
api.tracks.getTrack("5OT3k9lPxI2jkaryRK3Aop").complete()
116116
}
117117
api.useCache = true
118118
api.retryWhenRateLimited = false
119-
}
119+
}*/
120120

121121
/* it("thrown exception when can't retry") {
122122
api.retryWhenRateLimited = false

0 commit comments

Comments
 (0)