From 29cf8e27c58babbc8f2596f9b599646379b09591 Mon Sep 17 00:00:00 2001 From: mhucka Date: Tue, 12 May 2026 02:15:43 +0000 Subject: [PATCH] Mark `gradient_test` as flaky The test in `gradient_test.py` fails in CI about 50% of the time at random. --- tensorflow_quantum/python/differentiators/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow_quantum/python/differentiators/BUILD b/tensorflow_quantum/python/differentiators/BUILD index 1740396f0..18b2cef3f 100644 --- a/tensorflow_quantum/python/differentiators/BUILD +++ b/tensorflow_quantum/python/differentiators/BUILD @@ -134,6 +134,7 @@ py_test( name = "gradient_test", timeout = "eternal", srcs = ["gradient_test.py"], + flaky = True, python_version = "PY3", deps = [ ":adjoint",