Commit 0a854e8
authored
Re-enable test proxy unit tests (Azure#33855)
* Re-enable test proxy unit tests
The failure was caused by the fact that these tests effectively override the `AZURE_TEST_MODE` variable so they can test record and playback in the same session. The mechanism for doing so is later than when the test proxy started, so the sequence of events is:
```
AZURE_TEST_MODE=LIVE
skip starting test proxy
AZURE_TEST_MODE=PLAYBACK (within a test)
try to talk to test proxy.
```
This isn't a concern for real tests, as they will have a consistent mode throughout.
* cleanup1 parent 1672b9c commit 0a854e8
File tree
1 file changed
+5
-2
lines changed- sdk/core/azure-core-test/src/test/java/com/azure/core/test
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
0 commit comments