Clean up references to disabled test

PiperOrigin-RevId: 873985222
Change-Id: Ie7bfadfc788830da6a4e5a98139f2a7949e2de2e
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 411f490..704e6eb 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -10,9 +10,7 @@
   - "@remote_java_tools//:singlejar_cc_bin"
   # can't build @remote_java_tools_X repos for other platforms
   - "-//toolchains/..."
-  # TODO: re-enable docs after moving them out of https://bazel.build/reference/be/java
   - "-//java/docs/..."
-  - "-//test:docs_up_to_date_test"
 
 build_targets_integration: &build_targets_integration
   - "//..."
@@ -20,8 +18,6 @@
 
 test_targets: &test_targets
   - "//test/..."
-  # TODO: re-enable docs after moving them out of https://bazel.build/reference/be/java
-  - "-//test:docs_up_to_date_test"
 
 test_target_integration: &test_target_integration
   - "//:MyTest"
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 2bd13f2..06ee719 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -19,7 +19,7 @@
       draft: false
       generate_release_notes: true
       release_files: bazel-bin/distro/rules_java-*.tar.gz
-      bazel_test_command: "bazel test //test/... -//test:docs_up_to_date_test"
+      bazel_test_command: "bazel test -- //test/..."
   publish:
     needs: release
     uses: ./.github/workflows/publish.yaml
diff --git a/test/BUILD.bazel b/test/BUILD.bazel
index 951280d..fdc241f 100644
--- a/test/BUILD.bazel
+++ b/test/BUILD.bazel
@@ -72,6 +72,8 @@
     """,
     file1 = "//java/docs:rules.md",
     file2 = "//java/docs:rules_docs",
+    # TODO: b/369123329 - re-enable docs after moving them out of https://bazel.build/reference/be/java
+    tags = ["manual"],
 )
 
 validate_configs()