@@ -6065,26 +6065,38 @@ def test_cos_client_retry():
60656065 client1 = CosS3Client (conf1 )
60666066 do_retry_test (client1 , test_bucket , '200' , 0 , False )
60676067
6068+ time .sleep (2 )
6069+
60686070 # response 200, with cos requestid
60696071 client1 = CosS3Client (conf1 )
60706072 do_retry_test (client1 , test_bucket , '200r' , 0 , False )
60716073
6074+ time .sleep (2 )
6075+
60726076 # response 204, without cos requestid
60736077 client1 = CosS3Client (conf1 )
60746078 do_retry_test (client1 , test_bucket , '204' , 0 , False )
60756079
6080+ time .sleep (2 )
6081+
60766082 # response 204, with cos requestid
60776083 client1 = CosS3Client (conf1 )
60786084 do_retry_test (client1 , test_bucket , '204r' , 0 , False )
60796085
6086+ time .sleep (2 )
6087+
60806088 # response 206, without cos requestid
60816089 client1 = CosS3Client (conf1 )
60826090 do_retry_test (client1 , test_bucket , '206' , 0 , False )
60836091
6092+ time .sleep (2 )
6093+
60846094 # response 206, with cos requestid
60856095 client1 = CosS3Client (conf1 )
60866096 do_retry_test (client1 , test_bucket , '206r' , 0 , False )
60876097
6098+ time .sleep (2 )
6099+
60886100 # response 301, without cos requestid
60896101 client1 = CosS3Client (conf1 )
60906102 do_retry_test (client1 , test_bucket , '301' , 0 , False )
@@ -6176,26 +6188,38 @@ def test_cos_client_retry():
61766188 client2 = CosS3Client (conf2 )
61776189 do_retry_test (client2 , test_bucket , '200' , 0 , False )
61786190
6191+ time .sleep (2 )
6192+
61796193 # response 200, with cos requestid
61806194 client2 = CosS3Client (conf2 )
61816195 do_retry_test (client2 , test_bucket , '200r' , 0 , False )
61826196
6197+ time .sleep (2 )
6198+
61836199 # response 204, without cos requestid
61846200 client2 = CosS3Client (conf2 )
61856201 do_retry_test (client2 , test_bucket , '204' , 0 , False )
61866202
6203+ time .sleep (2 )
6204+
61876205 # response 204, with cos requestid
61886206 client2 = CosS3Client (conf2 )
61896207 do_retry_test (client2 , test_bucket , '204r' , 0 , False )
61906208
6209+ time .sleep (2 )
6210+
61916211 # response 206, without cos requestid
61926212 client2 = CosS3Client (conf2 )
61936213 do_retry_test (client2 , test_bucket , '206' , 0 , False )
61946214
6215+ time .sleep (2 )
6216+
61956217 # response 206, with cos requestid
61966218 client2 = CosS3Client (conf2 )
61976219 do_retry_test (client2 , test_bucket , '206r' , 0 , False )
61986220
6221+ time .sleep (2 )
6222+
61996223 # response 301, without cos requestid
62006224 client2 = CosS3Client (conf2 )
62016225 do_retry_test (client2 , test_bucket , '301' , 0 , False )
@@ -6294,26 +6318,38 @@ def test_cos_client_retry_2():
62946318 client1 = CosS3Client (conf1 )
62956319 do_retry_test (client1 , err_retry_bucket , '200' , 0 , False )
62966320
6321+ time .sleep (2 )
6322+
62976323 # response 200, with cos requestid
62986324 client1 = CosS3Client (conf1 )
62996325 do_retry_test (client1 , err_retry_bucket , '200r' , 0 , False )
63006326
6327+ time .sleep (2 )
6328+
63016329 # response 204, without cos requestid
63026330 client1 = CosS3Client (conf1 )
63036331 do_retry_test (client1 , err_retry_bucket , '204' , 0 , False )
63046332
6333+ time .sleep (2 )
6334+
63056335 # response 204, with cos requestid
63066336 client1 = CosS3Client (conf1 )
63076337 do_retry_test (client1 , err_retry_bucket , '204r' , 0 , False )
63086338
6339+ time .sleep (2 )
6340+
63096341 # response 206, without cos requestid
63106342 client1 = CosS3Client (conf1 )
63116343 do_retry_test (client1 , err_retry_bucket , '206' , 0 , False )
63126344
6345+ time .sleep (2 )
6346+
63136347 # response 206, with cos requestid
63146348 client1 = CosS3Client (conf1 )
63156349 do_retry_test (client1 , err_retry_bucket , '206r' , 0 , False )
63166350
6351+ time .sleep (2 )
6352+
63176353 # response 301, without cos requestid
63186354 client1 = CosS3Client (conf1 )
63196355 do_retry_test (client1 , err_retry_bucket , '301' , 0 , False )
@@ -6404,22 +6440,32 @@ def test_cos_client_retry_2():
64046440 client2 = CosS3Client (conf2 )
64056441 do_retry_test (client2 , err_retry_bucket , '200' , 0 , False )
64066442
6443+ time .sleep (2 )
6444+
64076445 # response 200, with cos requestid
64086446 client2 = CosS3Client (conf2 )
64096447 do_retry_test (client2 , err_retry_bucket , '200r' , 0 , False )
64106448
6449+ time .sleep (2 )
6450+
64116451 # response 204, without cos requestid
64126452 client2 = CosS3Client (conf2 )
64136453 do_retry_test (client2 , err_retry_bucket , '204' , 0 , False )
64146454
6455+ time .sleep (2 )
6456+
64156457 # response 204, with cos requestid
64166458 client2 = CosS3Client (conf2 )
64176459 do_retry_test (client2 , err_retry_bucket , '204r' , 0 , False )
64186460
6461+ time .sleep (2 )
6462+
64196463 # response 206, without cos requestid
64206464 client2 = CosS3Client (conf2 )
64216465 do_retry_test (client2 , err_retry_bucket , '206' , 0 , False )
64226466
6467+ time .sleep (2 )
6468+
64236469 # response 206, with cos requestid
64246470 client2 = CosS3Client (conf2 )
64256471 do_retry_test (client2 , err_retry_bucket , '206r' , 0 , False )
0 commit comments