File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def dns_resolver_response():
177
177
with SrvPollingKnobs (ttl_time = WAIT_TIME , min_srv_rescan_interval = WAIT_TIME ):
178
178
client = self .simple_client (self .CONNECTION_STRING )
179
179
await client .aconnect ()
180
- await assertion_method (self .BASE_SRV_RESPONSE , client )
180
+ await self . assert_nodelist_change (self .BASE_SRV_RESPONSE , client )
181
181
# Patch list of hosts returned by DNS query.
182
182
with SrvPollingKnobs (
183
183
nodelist_callback = dns_resolver_response , count_resolver_calls = count_resolver_calls
@@ -219,6 +219,8 @@ async def test_dns_failures(self):
219
219
def response_callback (* args ):
220
220
raise exc ("DNS Failure!" )
221
221
222
+ print (exc )
223
+
222
224
await self .run_scenario (response_callback , False )
223
225
224
226
async def test_dns_record_lookup_empty (self ):
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def dns_resolver_response():
177
177
with SrvPollingKnobs (ttl_time = WAIT_TIME , min_srv_rescan_interval = WAIT_TIME ):
178
178
client = self .simple_client (self .CONNECTION_STRING )
179
179
client ._connect ()
180
- assertion_method (self .BASE_SRV_RESPONSE , client )
180
+ self . assert_nodelist_change (self .BASE_SRV_RESPONSE , client )
181
181
# Patch list of hosts returned by DNS query.
182
182
with SrvPollingKnobs (
183
183
nodelist_callback = dns_resolver_response , count_resolver_calls = count_resolver_calls
@@ -219,6 +219,8 @@ def test_dns_failures(self):
219
219
def response_callback (* args ):
220
220
raise exc ("DNS Failure!" )
221
221
222
+ print (exc )
223
+
222
224
self .run_scenario (response_callback , False )
223
225
224
226
def test_dns_record_lookup_empty (self ):
You can’t perform that action at this time.
0 commit comments