Skip to content

Commit

Permalink
unskip dt tests (Azure#19090)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Jun 3, 2021
1 parent 2d177c9 commit 4454621
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 239 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ interactions:
Content-Length:
- '0'
User-Agent:
- azsdk-python-storage-blob/12.8.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-storage-blob/12.9.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Thu, 01 Apr 2021 20:45:50 GMT
- Thu, 03 Jun 2021 21:54:32 GMT
x-ms-version:
- '2020-06-12'
- '2020-08-04'
method: PUT
uri: https://redacted.blob.core.windows.net/srccd279526-2fbf-4cd2-a6bb-9f7f06749ca7?restype=container
uri: https://redacted.blob.core.windows.net/src4bca44dc-69cf-48d4-b19f-152c54698b39?restype=container
response:
body:
string: ''
headers:
content-length:
- '0'
date:
- Thu, 01 Apr 2021 20:45:49 GMT
- Thu, 03 Jun 2021 21:54:31 GMT
etag:
- '"0x8D8F54F22BD7477"'
- '"0x8D926DA2B6E514E"'
last-modified:
- Thu, 01 Apr 2021 20:45:50 GMT
- Thu, 03 Jun 2021 21:54:32 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version:
- '2020-06-12'
- '2020-08-04'
status:
code: 201
message: Created
Expand All @@ -53,17 +53,15 @@ interactions:
If-None-Match:
- '*'
User-Agent:
- azsdk-python-storage-blob/12.8.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-storage-blob/12.9.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-blob-type:
- BlockBlob
x-ms-date:
- Thu, 01 Apr 2021 20:45:50 GMT
x-ms-encryption-algorithm:
- AES256
- Thu, 03 Jun 2021 21:54:32 GMT
x-ms-version:
- '2020-06-12'
- '2020-08-04'
method: PUT
uri: https://redacted.blob.core.windows.net/srccd279526-2fbf-4cd2-a6bb-9f7f06749ca7/003ec918-63b2-4f2d-ada7-4afe4aa52a86.txt
uri: https://redacted.blob.core.windows.net/src4bca44dc-69cf-48d4-b19f-152c54698b39/d8e8ca6c-36d9-4130-9755-0bc7d00c342a.txt
response:
body:
string: ''
Expand All @@ -73,24 +71,24 @@ interactions:
content-md5:
- lyFPYyJLwenMTaN3qtznxw==
date:
- Thu, 01 Apr 2021 20:45:50 GMT
- Thu, 03 Jun 2021 21:54:31 GMT
etag:
- '"0x8D8F54F22CE6AB1"'
- '"0x8D926DA2B7BD025"'
last-modified:
- Thu, 01 Apr 2021 20:45:50 GMT
- Thu, 03 Jun 2021 21:54:32 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-content-crc64:
- SqmNKeH10UQ=
x-ms-request-server-encrypted:
- 'true'
x-ms-version:
- '2020-06-12'
- '2020-08-04'
status:
code: 201
message: Created
- request:
body: '{"inputs": [{"source": {"sourceUrl": "https://redacted.blob.core.windows.net/srccd279526-2fbf-4cd2-a6bb-9f7f06749ca7?se=end&sp=rl&sv=2020-06-12&sr=c&sig=fake_token_value",
body: '{"inputs": [{"source": {"sourceUrl": "https://redacted.blob.core.windows.net/src4bca44dc-69cf-48d4-b19f-152c54698b39?se=end&sp=rl&sv=2020-08-04&sr=c&sig=fake_token_value",
"filter": {}}, "targets": [{"targetUrl": "https://idont.ex.ist", "language":
"es"}]}]}'
headers:
Expand All @@ -101,133 +99,39 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '313'
- '317'
Content-Type:
- application/json
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-translation-document/1.0.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0/batches
response:
body:
string: ''
headers:
apim-request-id:
- 212ba03b-5d9b-49fb-9c5e-e55d5a59f3d3
- 6cb8cd71-de28-402d-b6a7-682fcbd15795
content-length:
- '0'
date:
- Thu, 01 Apr 2021 20:45:50 GMT
- Thu, 03 Jun 2021 21:54:32 GMT
operation-location:
- https://redacted.cognitiveservices.azure.com/translatortext/batch/v1.0-preview.1/batches/b148f681-9951-4892-8786-aef855c66b4d
- https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0/batches/46c61089-e758-4ef0-9ab0-0b07354b9955
set-cookie:
- ARRAffinity=19727efd86700e5294e01d3d9816fda18b4016b330aceb2a79043575a77e402c;Path=/;HttpOnly;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinitySameSite=19727efd86700e5294e01d3d9816fda18b4016b330aceb2a79043575a77e402c;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinity=20358cd7aa5d6b0695f01ef171fc9a95880154357830e1c6bb513b73834a2e5f;Path=/;HttpOnly;Secure;Domain=mtbatch.nam.microsofttranslator.com
- ARRAffinitySameSite=20358cd7aa5d6b0695f01ef171fc9a95880154357830e1c6bb513b73834a2e5f;Path=/;HttpOnly;SameSite=None;Secure;Domain=mtbatch.nam.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
x-requestid:
- 212ba03b-5d9b-49fb-9c5e-e55d5a59f3d3
- 6cb8cd71-de28-402d-b6a7-682fcbd15795
status:
code: 202
message: Accepted
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b148f681-9951-4892-8786-aef855c66b4d
response:
body:
string: '{"id":"b148f681-9951-4892-8786-aef855c66b4d","createdDateTimeUtc":"2021-04-01T20:45:51.110878Z","lastActionDateTimeUtc":"2021-04-01T20:45:51.1108785Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- 9ab29221-889c-4697-a286-71b676777dde
cache-control:
- public,max-age=1
content-length:
- '291'
content-type:
- application/json; charset=utf-8
date:
- Thu, 01 Apr 2021 20:45:51 GMT
etag:
- '"4AC725BDB29CCCF0A6C625C4E4F22D5D220ACA895F20F96150A2A0D7E4DA77F4"'
set-cookie:
- ARRAffinity=5dd610bbbfcdcce1e8b7e036dad4b7c92b91df5adc2f4b536e67d2a5eff0940e;Path=/;HttpOnly;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinitySameSite=5dd610bbbfcdcce1e8b7e036dad4b7c92b91df5adc2f4b536e67d2a5eff0940e;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.westus.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
x-requestid:
- 9ab29221-889c-4697-a286-71b676777dde
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b148f681-9951-4892-8786-aef855c66b4d
response:
body:
string: '{"id":"b148f681-9951-4892-8786-aef855c66b4d","createdDateTimeUtc":"2021-04-01T20:45:51.110878Z","lastActionDateTimeUtc":"2021-04-01T20:45:51.1108785Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- 1bebc9ba-9297-4205-871b-687ed394352d
cache-control:
- public,max-age=1
content-length:
- '291'
content-type:
- application/json; charset=utf-8
date:
- Thu, 01 Apr 2021 20:45:51 GMT
etag:
- '"4AC725BDB29CCCF0A6C625C4E4F22D5D220ACA895F20F96150A2A0D7E4DA77F4"'
set-cookie:
- ARRAffinity=19727efd86700e5294e01d3d9816fda18b4016b330aceb2a79043575a77e402c;Path=/;HttpOnly;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinitySameSite=19727efd86700e5294e01d3d9816fda18b4016b330aceb2a79043575a77e402c;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.westus.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
x-requestid:
- 1bebc9ba-9297-4205-871b-687ed394352d
status:
code: 200
message: OK
- request:
body: null
headers:
Expand All @@ -238,30 +142,30 @@ interactions:
Connection:
- keep-alive
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-ai-translation-document/1.0.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b148f681-9951-4892-8786-aef855c66b4d
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0/batches/46c61089-e758-4ef0-9ab0-0b07354b9955
response:
body:
string: '{"id":"b148f681-9951-4892-8786-aef855c66b4d","createdDateTimeUtc":"2021-04-01T20:45:51.110878Z","lastActionDateTimeUtc":"2021-04-01T20:45:51.2839647Z","status":"ValidationFailed","error":{"code":"InvalidRequest","message":"Cannot
access source document location with the current permissions.","target":"Operation","innerError":{"code":"InvalidDocumentAccessLevel","message":"Cannot
access source document location with the current permissions."}},"summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
string: '{"id":"46c61089-e758-4ef0-9ab0-0b07354b9955","createdDateTimeUtc":"2021-06-03T21:54:32.7556399Z","lastActionDateTimeUtc":"2021-06-03T21:54:32.837085Z","status":"ValidationFailed","error":{"code":"InvalidRequest","message":"Cannot
access target document location with the current permissions.","target":"Operation","innerError":{"code":"InvalidTargetDocumentAccessLevel","message":"Cannot
access target document location with the current permissions."}},"summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- 8182def2-a738-487c-82d0-3439c6cc6d25
- 79793fac-2da7-4669-83d5-22437314742b
cache-control:
- public,max-age=1
content-length:
- '565'
- '571'
content-type:
- application/json; charset=utf-8
date:
- Thu, 01 Apr 2021 20:45:52 GMT
- Thu, 03 Jun 2021 21:55:02 GMT
etag:
- '"8AA9056DC0D0204CEF47ADE63345E8727B6A43140C532596A84480A846214229"'
- '"20B523E5E12875486979EA15FF6C77384202849DAE3D14352C0A0AA5824CA0B6"'
set-cookie:
- ARRAffinity=5dd610bbbfcdcce1e8b7e036dad4b7c92b91df5adc2f4b536e67d2a5eff0940e;Path=/;HttpOnly;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinitySameSite=5dd610bbbfcdcce1e8b7e036dad4b7c92b91df5adc2f4b536e67d2a5eff0940e;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.westus.microsofttranslator.com
- ARRAffinity=20358cd7aa5d6b0695f01ef171fc9a95880154357830e1c6bb513b73834a2e5f;Path=/;HttpOnly;Secure;Domain=mtbatch.nam.microsofttranslator.com
- ARRAffinitySameSite=20358cd7aa5d6b0695f01ef171fc9a95880154357830e1c6bb513b73834a2e5f;Path=/;HttpOnly;SameSite=None;Secure;Domain=mtbatch.nam.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
Expand All @@ -273,7 +177,7 @@ interactions:
x-powered-by:
- ASP.NET
x-requestid:
- 8182def2-a738-487c-82d0-3439c6cc6d25
- 79793fac-2da7-4669-83d5-22437314742b
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit 4454621

Please sign in to comment.