Make variable_ops_test optonly
authorSanjoy Das <sanjoy@google.com>
Mon, 12 Feb 2018 19:12:04 +0000 (11:12 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 12 Feb 2018 19:16:21 +0000 (11:16 -0800)
variable_ops_test sometimes times out in fastbuild mode.  So mark it as optonly.

Running this test with `bazel test -c opt` passes all 1000 of 1000 reruns.
Running it with just `bazel test` fails 5 out of 300 reruns.

PiperOrigin-RevId: 185404726

tensorflow/compiler/tests/BUILD

index 25e329b..db65ee1 100644 (file)
@@ -639,6 +639,7 @@ tf_xla_py_test(
     name = "variable_ops_test",
     size = "small",
     srcs = ["variable_ops_test.py"],
+    tags = ["optonly"],
     deps = [
         ":xla_test",
         "//tensorflow/python:array_ops",