Skip to content

Commit 8882581

Browse files
author
Andrew Or
committed
Fix tests
In core/test, it turns out that selenium is bringing in guava 15, but the rest of Spark we use guava 14, which is evicted. Since we made catalyst/test depend on core/test, and hive/test depends on catalyst/test, hive tests are getting guava 15, which results in java.lang.IllegalAccessError because of a dependency conflict. This is resolved by excluding guava 15 from selenium in core/test.
1 parent ee22cda commit 8882581

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@
338338
<dependency>
339339
<groupId>org.seleniumhq.selenium</groupId>
340340
<artifactId>selenium-java</artifactId>
341+
<exclusions>
342+
<exclusion>
343+
<groupId>com.google.guava</groupId>
344+
<artifactId>guava</artifactId>
345+
</exclusion>
346+
</exclusions>
341347
<scope>test</scope>
342348
</dependency>
343349
<!-- Added for selenium: -->

0 commit comments

Comments
 (0)