mirror of https://github.com/apache/lucene.git
tests: improve test fail msg for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e64b4aa347
commit
c8178bd351
|
@ -195,9 +195,8 @@ public class ZkCLITest extends SolrTestCaseJ4 {
|
|||
int indexOfRelativePath = sourceFile.getAbsolutePath().lastIndexOf("collection1/conf");
|
||||
String relativePathofFile = sourceFile.getAbsolutePath().substring(indexOfRelativePath + 17, sourceFile.getAbsolutePath().length());
|
||||
File downloadedFile = new File(confDir,relativePathofFile);
|
||||
assertTrue("Make sure we did download each file in the original configuration",downloadedFile.exists());
|
||||
assertTrue(downloadedFile.getAbsolutePath() + " does not exist source:" + sourceFile.getAbsolutePath(), downloadedFile.exists());
|
||||
assertTrue("Content didn't change",FileUtils.contentEquals(sourceFile,downloadedFile));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue