Skip to content

Commit

Permalink
Number of jars in scheduler.jar might be > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Winder committed Nov 19, 2015
1 parent ca80d3c commit f415b3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void executorJarShouldBePresentInSchedulerJar() throws IOException {
FileFilter fileFilter = new WildcardFileFilter("*.jar");
File[] files = dir.listFiles(fileFilter);
assertNotNull(path.toAbsolutePath() + " does not denote a directory", files);
assertEquals("Jar file not found in " + path, 1, files.length);
assertTrue("Jar file not found in " + path, files.length > 0);
File schedulerJar = files[0];
Boolean executorFound = false;

Expand Down

0 comments on commit f415b3c

Please sign in to comment.