34 строки
1.1 KiB
Diff
34 строки
1.1 KiB
Diff
From a3e49d69a8489bd7075896215d3bdde7dc242cec Mon Sep 17 00:00:00 2001
|
|
From: Pawel Winogrodzki <pawelwi@microsoft.com>
|
|
Date: Tue, 29 Mar 2022 13:55:01 -0700
|
|
Subject: [PATCH] Disable multicast test
|
|
|
|
---
|
|
src/twisted/test/test_udp.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/twisted/test/test_udp.py b/src/twisted/test/test_udp.py
|
|
index f03f27a..be263e4 100644
|
|
--- a/src/twisted/test/test_udp.py
|
|
+++ b/src/twisted/test/test_udp.py
|
|
@@ -8,7 +8,7 @@ Tests for implementations of L{IReactorUDP} and L{IReactorMulticast}.
|
|
|
|
|
|
import os
|
|
-from unittest import skipIf
|
|
+from unittest import skip, skipIf
|
|
|
|
from twisted.internet import defer, error, interfaces, protocol, reactor, udp
|
|
from twisted.internet.defer import Deferred, gatherResults, maybeDeferred
|
|
@@ -542,6 +542,7 @@ class MulticastTests(TestCase):
|
|
o.transport.setTTL(2)
|
|
self.assertEqual(o.transport.getTTL(), 2)
|
|
|
|
+ @skip("test can't run correctly in container environments")
|
|
def test_loopback(self):
|
|
"""
|
|
Test that after loopback mode has been set, multicast packets are
|
|
--
|
|
2.17.1
|
|
|