Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10924


Change subject: [Java] Fix the use of resource files in tests
......................................................................

[Java] Fix the use of resource files in tests

This is preliminary work needed to run the java tests
on dist-test.

Our tests currently reference files/resources that are
not available in the output test artifacts. This means
our tests work when they are run from source in the
expected location but fail when they are run from the
compiled artifacts.

This fixes those failing tests by discovering the correct
location via Class.getResource and ensuring all needed
files are packaged in the resources directory.

Change-Id: Ia3a90bac67652b58f2eef802c509983c68d8a299
---
M java/kudu-flume-sink/build.gradle
M java/kudu-flume-sink/pom.xml
M 
java/kudu-flume-sink/src/test/java/org/apache/kudu/flume/sink/AvroKuduOperationsProducerTest.java
R java/kudu-flume-sink/src/test/resources/testAvroKuduOperationsProducer.avsc
M 
java/kudu-spark-tools/src/test/scala/org/apache/kudu/spark/tools/TestImportExportFiles.scala
5 files changed, 26 insertions(+), 15 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/24/10924/1
--
To view, visit http://gerrit.cloudera.org:8080/10924
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3a90bac67652b58f2eef802c509983c68d8a299
Gerrit-Change-Number: 10924
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to