Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
corrections
  • Loading branch information
seankane-msft committed May 12, 2021
commit 4a7b6c69ea316a4ed3716174ddd3daecdeb85bb1
3 changes: 2 additions & 1 deletion sdk/tables/azure-data-tables/tests/_shared/asynctestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ async def _tear_down(self):
if is_live():
async for table in self.ts.list_tables():
await self.ts.delete_table(table.name)
if u"cosmos" in self.ts.endpoint:
if self.ts._cosmos_endpoint:
print("Cosmos endpoint")
self.sleep(SLEEP_DELAY)
self.test_tables = []
await self.ts.close()
Expand Down
3 changes: 2 additions & 1 deletion sdk/tables/azure-data-tables/tests/_shared/testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def _tear_down(self):
if is_live():
self._delete_all_tables(self.ts)
self.test_tables = []
if "cosmos" in self.ts.endpoint:
if self.ts._cosmos_endpoint:
print("Cosmos endpoint")
self.sleep(SLEEP_DELAY)
self.ts.close()

Expand Down
Loading