Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing a transient test error #15579

Merged
1 commit merged into from
Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json;odata=minimalmetadata
DataServiceVersion:
- '3.0'
Date:
- Mon, 30 Nov 2020 21:35:12 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Mon, 30 Nov 2020 21:35:12 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://tablesteststorname.table.core.windows.net/Tables
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[]}'
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Mon, 30 Nov 2020 21:35:13 GMT
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
x-content-type-options: nosniff
x-ms-version: '2019-02-02'
status:
code: 200
message: OK
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: '{"TableName": "listtable0cac14c3"}'
headers:
Expand All @@ -11,11 +43,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:43 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:43 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: POST
Expand All @@ -26,7 +58,7 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
location: https://tablesteststorname.table.core.windows.net/Tables('listtable0cac14c3')
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
Expand All @@ -35,7 +67,7 @@ interactions:
status:
code: 201
message: Created
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: '{"TableName": "listtable1cac14c3"}'
headers:
Expand All @@ -48,11 +80,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: POST
Expand All @@ -63,7 +95,7 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
location: https://tablesteststorname.table.core.windows.net/Tables('listtable1cac14c3')
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
Expand All @@ -72,7 +104,7 @@ interactions:
status:
code: 201
message: Created
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: '{"TableName": "listtable2cac14c3"}'
headers:
Expand All @@ -85,11 +117,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: POST
Expand All @@ -100,7 +132,7 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
location: https://tablesteststorname.table.core.windows.net/Tables('listtable2cac14c3')
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
Expand All @@ -109,7 +141,7 @@ interactions:
status:
code: 201
message: Created
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: '{"TableName": "listtable3cac14c3"}'
headers:
Expand All @@ -122,11 +154,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: POST
Expand All @@ -137,7 +169,7 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
location: https://tablesteststorname.table.core.windows.net/Tables('listtable3cac14c3')
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
Expand All @@ -146,7 +178,7 @@ interactions:
status:
code: 201
message: Created
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: null
headers:
Expand All @@ -155,11 +187,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: GET
Expand All @@ -170,15 +202,15 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
x-content-type-options: nosniff
x-ms-version: '2019-02-02'
status:
code: 200
message: OK
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables
- request:
body: null
headers:
Expand All @@ -187,11 +219,11 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: GET
Expand All @@ -202,16 +234,16 @@ interactions:
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
x-content-type-options: nosniff
x-ms-continuation-nexttablename: 1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmJjODNhNTI1NmVjNQ--
x-ms-continuation-nexttablename: 1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmM3NjBiMDBjMTg3NQ--
x-ms-version: '2019-02-02'
status:
code: 200
message: OK
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables?$top=3
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables?$top=3
- request:
body: null
headers:
Expand All @@ -220,28 +252,28 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0a20201110001 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 17 Nov 2020 01:47:44 GMT
- Mon, 30 Nov 2020 21:35:13 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://tablesteststorname.table.core.windows.net/Tables?$top=3&NextTableName=1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmJjODNhNTI1NmVjNQ--
uri: https://tablesteststorname.table.core.windows.net/Tables?$top=3&NextTableName=1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmM3NjBiMDBjMTg3NQ--
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables","value":[{"TableName":"listtable3cac14c3"}]}'
headers:
cache-control: no-cache
content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date: Tue, 17 Nov 2020 01:47:44 GMT
date: Mon, 30 Nov 2020 21:35:13 GMT
server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding: chunked
x-content-type-options: nosniff
x-ms-version: '2019-02-02'
status:
code: 200
message: OK
url: https://tablestestkxtvva72iqu555.table.core.windows.net/Tables?$top=3&NextTableName=1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmJjODNhNTI1NmVjNQ--
url: https://tablestestwulynnboioche4.table.core.windows.net/Tables?$top=3&NextTableName=1!48!bGlzdHRhYmxlM2NhYzE0YzMBMDFkNmM3NjBiMDBjMTg3NQ--
version: 1
5 changes: 5 additions & 0 deletions sdk/tables/azure-data-tables/tests/test_table_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ async def test_list_tables_with_num_results(self, resource_group, location, stor
prefix = 'listtable'
account_url = self.account_url(storage_account, "table")
ts = self.create_client_from_credential(TableServiceClient, storage_account_key, account_url=account_url)

# Delete any existing tables
async for table in ts.list_tables():
await ts.delete_table(table.table_name)

table_list = []
for i in range(0, 4):
await self._create_table(ts, prefix + str(i), table_list)
Expand Down