You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting warmup or inject doesn't update the Error handler's settings.
deftest_aws_transient(self):
"""Tests that we retry requests."""self._setup_proxy()
client=VClient()
options= {'inject': True, 'warmup': 2}
withclient.with_behavior('error', **options):
# do something...result=self._query_ns()
self._test_result(result)
the odd thing is I can print the settings in the OnTheFlyProxy and at the beginning of Error.on_before_handle. The id method shows the same value for both objects, but only the print in OnTheFlyProxy shows my options being set. Error.on_before_handle just shows my default options.
Setting warmup or inject doesn't update the Error handler's settings.
the odd thing is I can print the settings in the OnTheFlyProxy and at the beginning of Error.on_before_handle. The id method shows the same value for both objects, but only the print in OnTheFlyProxy shows my options being set. Error.on_before_handle just shows my default options.
any ideas?
edit:
here's the _setup_proxy method
The text was updated successfully, but these errors were encountered: