Skip to content

Commit 6ac91df

Browse files
authored
[Test Proxy] Skip sanitizer removal if test proxy isn't running (Azure#35526)
1 parent 60435ea commit 6ac91df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/azure-sdk-tools/devtools_testutils/sanitizers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,9 @@ def remove_batch_sanitizers(sanitizers: List[str], headers: Optional[Dict] = Non
484484
:type headers: dict
485485
"""
486486

487+
if is_live_and_not_recording():
488+
return
489+
487490
data = {"Sanitizers" : sanitizers}
488491

489492
headers_to_send = {"Content-Type": "application/json"}

0 commit comments

Comments
 (0)