forked from pool/python-websockets
- Add skip-test_keepalive_ping_with_no_ping_timeout.patch for
gh#aaugustin/websockets#1026. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=28
This commit is contained in:
21
skip-test_keepalive_ping_with_no_ping_timeout.patch
Normal file
21
skip-test_keepalive_ping_with_no_ping_timeout.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
tests/legacy/test_protocol.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/tests/legacy/test_protocol.py
|
||||
+++ b/tests/legacy/test_protocol.py
|
||||
@@ -1,5 +1,6 @@
|
||||
import asyncio
|
||||
import contextlib
|
||||
+import platform
|
||||
import sys
|
||||
import unittest
|
||||
import unittest.mock
|
||||
@@ -1189,6 +1190,7 @@ class CommonTests:
|
||||
self.loop.run_until_complete(asyncio.sleep(4 * MS))
|
||||
self.assertNoFrameSent()
|
||||
|
||||
+ @unittest.skipIf(platform.processor() == 'x86_64', 'gh#aaugustin/websockets#1026')
|
||||
def test_keepalive_ping_with_no_ping_timeout(self):
|
||||
self.restart_protocol_with_keepalive_ping(ping_timeout=None)
|
||||
|
||||
Reference in New Issue
Block a user