Skip to content

Commit 06b9347

Browse files
committed
fix the test
1 parent 7e17df6 commit 06b9347

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_srv_polling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def dns_resolver_response():
177177
with SrvPollingKnobs(ttl_time=WAIT_TIME, min_srv_rescan_interval=WAIT_TIME):
178178
client = self.simple_client(self.CONNECTION_STRING)
179179
await client.aconnect()
180-
await self.assert_nodelist_change(self.BASE_SRV_RESPONSE, client)
180+
await assertion_method(self.BASE_SRV_RESPONSE, client)
181181
# Patch list of hosts returned by DNS query.
182182
with SrvPollingKnobs(
183183
nodelist_callback=dns_resolver_response, count_resolver_calls=count_resolver_calls

test/test_srv_polling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def dns_resolver_response():
177177
with SrvPollingKnobs(ttl_time=WAIT_TIME, min_srv_rescan_interval=WAIT_TIME):
178178
client = self.simple_client(self.CONNECTION_STRING)
179179
client._connect()
180-
self.assert_nodelist_change(self.BASE_SRV_RESPONSE, client)
180+
assertion_method(self.BASE_SRV_RESPONSE, client)
181181
# Patch list of hosts returned by DNS query.
182182
with SrvPollingKnobs(
183183
nodelist_callback=dns_resolver_response, count_resolver_calls=count_resolver_calls

0 commit comments

Comments
 (0)