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


BIGTOP-1591. JarContentTest is failing on JDK7

Signed-off-by: Konstantin Boudnik <[email protected]>


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 <[email protected]>
Authored: Mon Jan 12 15:38:09 2015 -0800
Committer: Konstantin Boudnik <[email protected]>
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;
     };
   }

Reply via email to