diff --git a/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion.py b/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion.py index bd50f8ad31cf..1a5cb290b236 100644 --- a/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion.py +++ b/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion.py @@ -9,7 +9,7 @@ class TestLogsIngestionClient(AzureRecordedTestCase): @pytest.mark.live_test_only @IngestionPreparer() @recorded_by_proxy - def test_send_logs(self, variables, azure_monitor_dce, azure_monitor_dcr_id, monitor_client_id, monitor_client_secret, monitor_tenant_id): + def test_send_logs(self, azure_monitor_dce, azure_monitor_dcr_id, monitor_client_id, monitor_client_secret, monitor_tenant_id): credential = ClientSecretCredential( client_id = monitor_client_id, client_secret = monitor_client_secret, diff --git a/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion_async.py b/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion_async.py index c3861f416fcf..812d63d8ea18 100644 --- a/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion_async.py +++ b/sdk/monitor/azure-monitor-ingestion/tests/test_logs_ingestion_async.py @@ -11,7 +11,7 @@ class TestLogsIngestionClientAsync(AzureRecordedTestCase): @IngestionPreparer() @recorded_by_proxy_async - async def test_send_logs_async(self, variables, azure_monitor_dce, azure_monitor_dcr_id, monitor_client_id, monitor_client_secret, monitor_tenant_id): + async def test_send_logs_async(self, azure_monitor_dce, azure_monitor_dcr_id, monitor_client_id, monitor_client_secret, monitor_tenant_id): credential = ClientSecretCredential( client_id = monitor_client_id, client_secret = monitor_client_secret, diff --git a/sdk/monitor/tests.yml b/sdk/monitor/tests.yml index 2133611ab5f6..3b2ebb3ed1f5 100644 --- a/sdk/monitor/tests.yml +++ b/sdk/monitor/tests.yml @@ -16,3 +16,4 @@ stages: SECONDARY_WORKSPACE_ID: $(python-query-secondary-workspace-id) METRICS_RESOURCE_URI: $(azure-monitor-query-metrics-uri) AZURE_TEST_RUN_LIVE: 'true' + AZURE_SKIP_LIVE_RECORDING: 'true'