You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2015/01/13 08:28:43 UTC

bigtop git commit: BIGTOP-1591. JarContentTest is failing on JDK7

Repository: bigtop
Updated Branches:
  refs/heads/master 364a325d6 -> 7006b7f70


BIGTOP-1591. JarContentTest is failing on JDK7

Signed-off-by: Konstantin Boudnik <co...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/7006b7f7
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/7006b7f7
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/7006b7f7

Branch: refs/heads/master
Commit: 7006b7f705dd93b37b767d255eea8797bc1dfaac
Parents: 364a325
Author: Dasha Boudnik <da...@wandisco.com>
Authored: Mon Jan 12 15:38:09 2015 -0800
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Mon Jan 12 15:38:09 2015 -0800

----------------------------------------------------------------------
 .../src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/7006b7f7/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy
----------------------------------------------------------------------
diff --git a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy
index d92dd7e..c49f657 100644
--- a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy
+++ b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/JarContentTest.groovy
@@ -36,8 +36,8 @@ class JarContentTest {
       JarContent.listContent(env['JAVA_HOME'] + '/lib/nofilelikethat.jar').each {
         println it;
       }
+      assert("IOException should have been thrown");
     } catch (IOException e) {
-      assert e.getMessage().startsWith('Could not open')
       throw e;
     };
   }