diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index 29b05cecba4..743593682ff 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -1543,7 +1543,6 @@ tf_cc_tests(
         "platform/net_test.cc",
         "platform/port_test.cc",
         "platform/profile_utils/cpu_utils_test.cc",
-        "platform/subprocess_test.cc",
     ],
     deps = [
         ":lib",
@@ -1556,6 +1555,21 @@ tf_cc_tests(
     ],
 )
 
+tf_cc_tests(
+    size = "small",
+    srcs = ["platform/subprocess_test.cc"],
+    tags = ["manual"],
+    deps = [
+        ":lib",
+        ":lib_internal",
+        ":lib_test_internal",
+        ":protos_all_cc",
+        ":test",
+        ":test_main",
+        "//third_party/eigen3",
+    ],
+)
+
 tf_cc_tests(
     size = "small",
     srcs = ["platform/env_test.cc"],