Skip to content

Commit c1b28c4

Browse files
MichaelZp0Michael Zappe
andauthored
Duplicate success response to remove race condition in test (Azure#25820)
* Removed get to not overflow recorded requests * Duplicate success message instead of removing request Co-authored-by: Michael Zappe <michaelzappe@microsoft.com>
1 parent a0e072d commit c1b28c4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

sdk/remoterendering/azure-mixedreality-remoterendering/tests/recordings/test_client.test_simple_conversion.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,42 @@ interactions:
472472
status:
473473
code: 200
474474
message: OK
475+
- request:
476+
body: null
477+
headers:
478+
Accept:
479+
- application/json
480+
Accept-Encoding:
481+
- gzip, deflate
482+
Connection:
483+
- keep-alive
484+
User-Agent:
485+
- azsdk-python-mixedreality-remoterendering/1.0.0b1 Python/3.9.1 (Windows-10-10.0.19041-SP0)
486+
method: GET
487+
uri: https://remoterendering.eastus.mixedreality.azure.com/accounts/70a8e4d2-816a-4d03-a800-aeb20126ae51/conversions/11b5d55d-b228-4291-8883-df3865a32088?api-version=2021-01-01
488+
response:
489+
body:
490+
string: '{"id":"11b5d55d-b228-4291-8883-df3865a32088","creationTime":"2021-03-22T19:46:49.6665492Z","settings":{"inputLocation":{"storageContainerUri":"https://arrstorageaccount.blob.core.windows.net/test","blobPrefix":"Input/","relativeInputAssetPath":"testBox.fbx"},"outputLocation":{"storageContainerUri":"https://arrstorageaccount.blob.core.windows.net/test","blobPrefix":"11b5d55d-b228-4291-8883-df3865a32088/","outputAssetFilename":"testBox.arrAsset"}},"output":{"outputAssetUri":"https://arrstorageaccount.blob.core.windows.net/test/11b5d55d-b228-4291-8883-df3865a32088/testBox.arrAsset"},"error":null,"status":"Succeeded"}'
491+
headers:
492+
api-supported-versions:
493+
- 2021-01-01-preview, 2021-01-01
494+
cache-control:
495+
- no-store,no-cache
496+
content-length:
497+
- '615'
498+
content-type:
499+
- application/json; charset=utf-8
500+
date:
501+
- Mon, 22 Mar 2021 19:47:45 GMT
502+
ms-cv:
503+
- 1SGpcqRTHUqxmSbnjZBo0Q.0
504+
pragma:
505+
- no-cache
506+
x-content-type-options:
507+
- nosniff
508+
status:
509+
code: 200
510+
message: OK
475511
- request:
476512
body: null
477513
headers:

0 commit comments

Comments
 (0)