Commit 3f2b5c8
authored
Fix hanging SDK_API_HttpParentProxySet regression tests (#12721)
Remove the check for parent_routing_enabled() in the SDK_API_HttpParentProxySet
regression tests. This check has been broken since 2019 when commit 6d1535b
removed the proxy.config.http.parent_proxy_routing_enable configuration variable
as redundant.
The ParentEnable field in ParentSelectionPolicy is no longer set by any code
(defaults to 0) and is not checked anywhere except this test. The test was
waiting indefinitely for parent_routing_enabled() to return true, which would
never happen in a default configuration.
The test uses TSHttpTxnParentProxySet() to dynamically set a parent proxy via
the API, which works regardless of whether parent routing is configured in
parent.config. The check was unnecessary and caused the test to hang at
regression level 3 (-R 3).
This allows the SDK_API_HttpParentProxySet_Success and _Fail tests to complete
successfully.1 parent cf9aead commit 3f2b5c8
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7366 | 7366 | | |
7367 | 7367 | | |
7368 | 7368 | | |
7369 | | - | |
7370 | | - | |
7371 | | - | |
7372 | | - | |
7373 | | - | |
| 7369 | + | |
| 7370 | + | |
7374 | 7371 | | |
7375 | | - | |
| 7372 | + | |
7376 | 7373 | | |
7377 | 7374 | | |
7378 | 7375 | | |
| |||
0 commit comments