From 80af0ac67ba9ab1d3f1ba510596019341da9fa27 Mon Sep 17 00:00:00 2001 From: Jaden Peterson Date: Wed, 13 Nov 2024 16:09:14 -0500 Subject: [PATCH] Disabled tests/dependencies/indirect/test --- tests/dependencies/indirect/test | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/tests/dependencies/indirect/test b/tests/dependencies/indirect/test index c00c592e..01c1f8a4 100755 --- a/tests/dependencies/indirect/test +++ b/tests/dependencies/indirect/test @@ -1,19 +1,20 @@ #!/bin/bash -e . "$(dirname "$0")"/../../common.sh -# used_deps off -! bazel build :used_deps_off_c || false -bazel build :used_deps_off_c |& grep "buildozer 'add deps @\?//dependencies/indirect:used_deps_off_a' //dependencies/indirect:used_deps_off_c" +# TODO: Make this test not flaky +# # used_deps off +# ! bazel build :used_deps_off_c || false +# bazel build :used_deps_off_c |& grep "buildozer 'add deps @\?//dependencies/indirect:used_deps_off_a' //dependencies/indirect:used_deps_off_c" -# direct_deps off -! bazel build :direct_deps_off_c || false -bazel build :direct_deps_off_c |& grep "buildozer 'remove deps //dependencies/indirect:direct_deps_off_a' //dependencies/indirect:direct_deps_off_b" +# # direct_deps off +# ! bazel build :direct_deps_off_c || false +# bazel build :direct_deps_off_c |& grep "buildozer 'remove deps //dependencies/indirect:direct_deps_off_a' //dependencies/indirect:direct_deps_off_b" -# toggle used_deps and direct_deps via --define -! bazel build --define=scala_deps_used=off :define_c || false -bazel build --define=scala_deps_used=off :define_c |& grep "buildozer 'add deps @\?//dependencies/indirect:define_a' //dependencies/indirect:define_c" +# # toggle used_deps and direct_deps via --define +# ! bazel build --define=scala_deps_used=off :define_c || false +# bazel build --define=scala_deps_used=off :define_c |& grep "buildozer 'add deps @\?//dependencies/indirect:define_a' //dependencies/indirect:define_c" -! bazel build --define=scala_deps_direct=off :define_c || false -bazel build --define=scala_deps_direct=off :define_c |& grep "buildozer 'remove deps //dependencies/indirect:define_a' //dependencies/indirect:define_b" +# ! bazel build --define=scala_deps_direct=off :define_c || false +# bazel build --define=scala_deps_direct=off :define_c |& grep "buildozer 'remove deps //dependencies/indirect:define_a' //dependencies/indirect:define_b" -bazel build --define=scala_deps_used=off --define=scala_deps_direct=off :define_c +# bazel build --define=scala_deps_used=off --define=scala_deps_direct=off :define_c