Fix running RevWalkSortTopoWithCommitGraphTest with bazel - add missing additional dependency to assertj-core - exclude abstract base class AbstractRevWalkWithCommitGraphTest This problem was introduced in ab51fe2bdb9d7f05287b686e75be7afc46d0c8f5. Change-Id: Ib8c199af664e6c03a251556ac70aaa8bdcafdef8
diff --git a/org.eclipse.jgit.test/BUILD b/org.eclipse.jgit.test/BUILD index 7dab36d..a3765da 100644 --- a/org.eclipse.jgit.test/BUILD +++ b/org.eclipse.jgit.test/BUILD
@@ -24,6 +24,7 @@ "nls/MissingPropertyBundle.java", "nls/NoPropertiesBundle.java", "nls/NonTranslatedBundle.java", + "revwalk/AbstractRevWalkWithCommitGraphTest.java", "revwalk/RevQueueTestCase.java", "revwalk/RevWalkTestCase.java", "transport/ObjectIdMatcher.java",
diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl index 41f76d0..a532ac3 100644 --- a/org.eclipse.jgit.test/tests.bzl +++ b/org.eclipse.jgit.test/tests.bzl
@@ -72,6 +72,10 @@ "//lib:xz", "//org.eclipse.jgit.archive:jgit-archive", ] + if src.endswith("RevWalkSortTopoWithCommitGraphTest.java"): + additional_deps = [ + "//lib:assertj-core", + ] if src.endswith("FileRepositoryBuilderAfterOpenConfigTest.java") or \ src.endswith("RefDirectoryAfterOpenConfigTest.java") or \ src.endswith("SnapshottingRefDirectoryTest.java"):