Просмотр исходного кода

Ensure unit tests don't pick up interop client

Richard Belleville 5 лет назад
Родитель
Сommit
a82f8f3dd7

+ 0 - 13
src/python/grpcio_tests/tests/interop/BUILD.bazel

@@ -115,16 +115,3 @@ py2and3_test(
         "//src/python/grpcio_tests/tests/unit:test_common",
         "//src/python/grpcio_tests/tests/unit:test_common",
     ],
     ],
 )
 )
-
-py_binary(
-    name = "xds_interop_client",
-    srcs = ["xds_interop_client.py"],
-    python_version = "PY3",
-    deps = [
-        "//src/proto/grpc/testing:empty_py_pb2",
-        "//src/proto/grpc/testing:py_messages_proto",
-        "//src/proto/grpc/testing:py_test_proto",
-        "//src/proto/grpc/testing:test_py_pb2_grpc",
-        "//src/python/grpcio/grpc:grpcio",
-    ],
-)

+ 12 - 0
src/python/grpcio_tests/tests_py3_only/interop/BUILD.bazel

@@ -0,0 +1,12 @@
+py_binary(
+    name = "xds_interop_client",
+    srcs = ["xds_interop_client.py"],
+    python_version = "PY3",
+    deps = [
+        "//src/proto/grpc/testing:empty_py_pb2",
+        "//src/proto/grpc/testing:py_messages_proto",
+        "//src/proto/grpc/testing:py_test_proto",
+        "//src/proto/grpc/testing:test_py_pb2_grpc",
+        "//src/python/grpcio/grpc:grpcio",
+    ],
+)

+ 0 - 0
src/python/grpcio_tests/tests/interop/xds_interop_client.py → src/python/grpcio_tests/tests_py3_only/interop/xds_interop_client.py