File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/kotlin/com/adamratzman/spotify/utilities Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */
2
2
package com.adamratzman.spotify.utilities
3
3
4
- import com.adamratzman.spotify.api
5
4
import com.adamratzman.spotify.http.HttpConnection
6
5
import com.adamratzman.spotify.http.HttpRequestMethod
7
6
import org.json.JSONObject
@@ -107,16 +106,17 @@ class HttpConnectionTests : Spek({
107
106
)
108
107
}
109
108
110
- it("retry") {
109
+ /* ( it("retry") {
111
110
api.useCache = false
112
111
api.retryWhenRateLimited = true
113
112
api.clearCache()
114
- for (it in 1..250) {
113
+ for (it in 1..2500) {
114
+ println(System.currentTimeMillis())
115
115
api.tracks.getTrack("5OT3k9lPxI2jkaryRK3Aop").complete()
116
116
}
117
117
api.useCache = true
118
118
api.retryWhenRateLimited = false
119
- }
119
+ }*/
120
120
121
121
/* it("thrown exception when can't retry") {
122
122
api.retryWhenRateLimited = false
You can’t perform that action at this time.
0 commit comments