Skip to content

Commit 13681f8

Browse files
committed
Reduce test timeout
1 parent 69cb197 commit 13681f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_connector.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1232,9 +1232,9 @@ def test_not_expired_ttl(self):
12321232

12331233
@asyncio.coroutine
12341234
def test_expired_ttl(self, loop):
1235-
dns_cache_table = _DNSCacheTable(ttl=0.1)
1235+
dns_cache_table = _DNSCacheTable(ttl=0.01)
12361236
dns_cache_table.add('localhost', ['127.0.0.1'])
1237-
yield from asyncio.sleep(0.1, loop=loop)
1237+
yield from asyncio.sleep(0.01, loop=loop)
12381238
assert dns_cache_table.expired('localhost')
12391239

12401240
def test_next_addrs(self, dns_cache_table):

0 commit comments

Comments
 (0)