diff options
author | Prudhvi Akhil Alahari <quic_prudhvi@quicinc.com> | 2023-04-24 14:45:17 +0530 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-04-26 22:01:05 +0200 |
commit | 70bc5aad30dca46e086f99f81c80f878d3f54bc6 (patch) | |
tree | 6062dd5740cbe630693ec78c8e5aa39edfaae17d /org.eclipse.jgit.test/tests.bzl | |
parent | 6082ae25dd92ec5f67fbbcfd00e1c244caf63f87 (diff) | |
download | jgit-70bc5aad30dca46e086f99f81c80f878d3f54bc6.tar.gz jgit-70bc5aad30dca46e086f99f81c80f878d3f54bc6.zip |
Fix after_open config and Snapshotting RefDir tests to work with bazel
The changes I1db6fcf414b and I634b92877f added tests which were failing
with errors [1] and [2] with "bazel test //...". This was not caught
because we don't have CI running with bazel. Fix bazel build file so
that these errors are no longer thrown when run with bazel.
[1] error: cannot find symbol FileRepositoryBuilderTest
[2] error: cannot find symbol RefDirectoryTest
Bug: 581816
Signed-off-by: Prudhvi Akhil Alahari <quic_prudhvi@quicinc.com>
Change-Id: I1e57111662825f5f14f373bc4f8d24cce1fec0b8
Diffstat (limited to 'org.eclipse.jgit.test/tests.bzl')
-rw-r--r-- | org.eclipse.jgit.test/tests.bzl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl index e201bdbcb3..170bf0c460 100644 --- a/org.eclipse.jgit.test/tests.bzl +++ b/org.eclipse.jgit.test/tests.bzl @@ -52,6 +52,12 @@ def tests(tests): "//lib:xz", "//org.eclipse.jgit.archive:jgit-archive", ] + if src.endswith("FileRepositoryBuilderAfterOpenConfigTest.java") or \ + src.endswith("RefDirectoryAfterOpenConfigTest.java") or \ + src.endswith("SnapshottingRefDirectoryTest.java"): + additional_deps = [ + ":base", + ] heap_size = "-Xmx256m" if src.endswith("HugeCommitMessageTest.java"): heap_size = "-Xmx512m" |