Skip to content

Commit ed43a99

Browse files
Test current 429 behaviour
1 parent b5a8b02 commit ed43a99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/azure_blobs_exception_tests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ end # @testitem
277277

278278
@testset "429: Too Many Requests" begin
279279
# See https://www.rfc-editor.org/rfc/rfc6585#section-4
280+
nrequests = test_status(:GET, 429)
281+
@test nrequests == 1
282+
nrequests = test_status(:PUT, 429)
283+
@test nrequests == 1
280284
# See https://www.rfc-editor.org/rfc/rfc9110#field.retry-after
281285
# TODO: We probably should respect the Retry-After header, but we currently don't
282286
# (and we don't know if Azure actually sets it)

0 commit comments

Comments
 (0)