aboutsummaryrefslogtreecommitdiffhomepage
path: root/.bazelci/presubmit.yml
diff options
context:
space:
mode:
authorGravatar Tobias Werth <twerth@google.com>2018-08-14 07:16:52 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-14 07:18:02 -0700
commita05e6ccdba85f5e827245aa581accd2867e40851 (patch)
treeb139618c7293d9aeebbb23562952adc7137e60f1 /.bazelci/presubmit.yml
parent30f04a1f9c98ad2536df338bdcb1b67a168c4190 (diff)
Explicitly cast ByteBuffer in clear() call to Buffer.
This works around the following error: java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; at com.google.devtools.build.lib.profiler.Profiler$BinaryFormatWriter.run(Profiler.java:949) at java.lang.Thread.run(Thread.java:748) JDK 9 introduced an overloaded methods with covariant return type. Closes #5886. PiperOrigin-RevId: 208642556
Diffstat (limited to '.bazelci/presubmit.yml')
-rw-r--r--.bazelci/presubmit.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 84f4f0d500..d1bc3f1c14 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -19,6 +19,8 @@ platforms:
- "-//src/test/shell/bazel:bazel_determinism_test"
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
+ # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
+ - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
ubuntu1604:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
@@ -38,6 +40,8 @@ platforms:
- "-//src/test/shell/bazel:bazel_determinism_test"
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
+ # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
+ - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
ubuntu1804:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
@@ -57,6 +61,8 @@ platforms:
- "-//src/test/shell/bazel:bazel_determinism_test"
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
+ # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
+ - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
macos:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
@@ -87,6 +93,8 @@ platforms:
- "-//src/test/shell/bazel:git_repository_test"
- "-//src/test/shell/bazel/android:aar_integration_test"
- "-//src/test/shell/bazel/android:android_integration_test"
+ # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
+ - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
windows:
build_flags:
- "--copt=-w"
@@ -100,7 +108,10 @@ platforms:
- "--test_env=JAVA_HOME"
- "--test_timeout=1200"
test_targets:
+ - "--"
- "//src:all_windows_tests"
+ # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
+ - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
rbe_ubuntu1604:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#