Skip to content

Commit

Permalink
Make LRO tests faster (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Jul 30, 2019
1 parent dad636f commit 15d34fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/azure/AcceptanceTests/asynctests/test_lro.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def request_status(self, status_link):
async def client():
"""Create a AutoRestLongRunningOperationTestService client with test server credentials."""
cred = BasicTokenAuthentication({"access_token" :str(uuid4())})
async with AutoRestLongRunningOperationTestService(cred, base_url="http://localhost:3000") as client:
async with AutoRestLongRunningOperationTestService(cred, base_url="http://localhost:3000", polling_interval=0) as client:
yield client


Expand Down
2 changes: 1 addition & 1 deletion test/azure/AcceptanceTests/test_lro.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def client(cookie_policy):
cookie_policy
]

with AutoRestLongRunningOperationTestService(cred, base_url="http://localhost:3000", policies=policies) as client:
with AutoRestLongRunningOperationTestService(cred, base_url="http://localhost:3000", policies=policies, polling_interval=0) as client:
yield client


Expand Down

0 comments on commit 15d34fd

Please sign in to comment.