Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshith91 committed Jul 22, 2021
1 parent 53b207f commit 3b05c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pytest
import os
import time
from azure.identity.aio import ClientSecretCredential
from azure.core.exceptions import HttpResponseError
from azure.monitor.query import LogsQueryRequest
Expand Down Expand Up @@ -28,10 +27,10 @@ async def test_logs_auth():
assert response is not None
assert response.tables is not None

@pytest.mark.skip("https://github.com/Azure/azure-sdk-for-python/issues/19917")
@pytest.mark.live_test_only
async def test_logs_server_timeout():
client = LogsQueryClient(_credential())
time.sleep(10)
with pytest.raises(HttpResponseError) as e:
response = await client.query(
os.environ['LOG_WORKSPACE_ID'],
Expand Down
1 change: 1 addition & 0 deletions sdk/monitor/azure-monitor-query/tests/test_logs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_logs_single_query_with_partial_success():

assert response is not None

@pytest.mark.skip("https://github.com/Azure/azure-sdk-for-python/issues/19917")
@pytest.mark.live_test_only
def test_logs_server_timeout():
client = LogsQueryClient(_credential())
Expand Down

0 comments on commit 3b05c10

Please sign in to comment.