2021-09-09 16:26:18 +00:00
|
|
|
diff -Naur grpc-1.40.0-original/src/python/grpcio_tests/tests/unit/_dns_resolver_test.py grpc-1.40.0/src/python/grpcio_tests/tests/unit/_dns_resolver_test.py
|
|
|
|
--- grpc-1.40.0-original/src/python/grpcio_tests/tests/unit/_dns_resolver_test.py 2021-09-03 19:20:52.000000000 -0400
|
|
|
|
+++ grpc-1.40.0/src/python/grpcio_tests/tests/unit/_dns_resolver_test.py 2021-09-09 10:55:12.919416808 -0400
|
|
|
|
@@ -14,6 +14,7 @@
|
2021-03-22 22:34:21 +00:00
|
|
|
"""Tests for an actual dns resolution."""
|
|
|
|
|
2021-09-09 16:26:18 +00:00
|
|
|
import logging
|
2021-03-22 22:34:21 +00:00
|
|
|
+import os
|
|
|
|
import unittest
|
2021-09-09 16:26:18 +00:00
|
|
|
|
|
|
|
import grpc
|
|
|
|
@@ -46,6 +47,8 @@
|
2021-03-22 22:34:21 +00:00
|
|
|
def tearDown(self):
|
|
|
|
self._server.stop(None)
|
|
|
|
|
|
|
|
+ @unittest.skipIf('FEDORA_NO_NETWORK_TESTS' in os.environ,
|
|
|
|
+ 'Network tests disabled')
|
|
|
|
def test_connect_loopback(self):
|
|
|
|
# NOTE(https://github.com/grpc/grpc/issues/18422)
|
|
|
|
# In short, Gevent + C-Ares = Segfault. The C-Ares driver is not
|