Skip to content

Commit

Permalink
SparkTest: increase retries (#834)
Browse files Browse the repository at this point in the history
Bump maxRetries 5->15, maxRetryDelay 10->30 sec
Noticed a failed build with 429 on retry that likely uses this sttpBackend
https://github.com/cognitedata/cdp-spark-datasource/actions/runs/6454400586/job/17520432259
  • Loading branch information
dmivankov authored Oct 16, 2023
1 parent ce5e507 commit d0e596c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/cognite/spark/v1/SparkTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ trait SparkTest {
audience = Some(OIDCWrite.audience),
cdfProjectName = OIDCWrite.project,
)
implicit val sttpBackend: SttpBackend[IO, Any] = CdpConnector.retryingSttpBackend(5, 5)
implicit val sttpBackend: SttpBackend[IO, Any] = CdpConnector.retryingSttpBackend(15, 30)

val writeAuthProvider =
OAuth2.ClientCredentialsProvider[IO](writeCredentials).unsafeRunTimed(1.second).get
Expand Down

0 comments on commit d0e596c

Please sign in to comment.