geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject incubator-geode git commit: Add expected exception for "Unable to load class BAD_COMPRESS"
Date Thu, 07 Jan 2016 17:39:25 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-374 ca871fc2a -> bbccae023


Add expected exception for "Unable to load class BAD_COMPRESS"


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/bbccae02
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/bbccae02
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/bbccae02

Branch: refs/heads/feature/GEODE-374
Commit: bbccae0233f3ea53eaf50930cf6866833e47ea4f
Parents: ca871fc
Author: Kirk Lund <klund@pivotal.io>
Authored: Thu Jan 7 09:37:41 2016 -0800
Committer: Kirk Lund <klund@pivotal.io>
Committed: Thu Jan 7 09:37:41 2016 -0800

----------------------------------------------------------------------
 .../internal/compression/CompressionCacheConfigDUnitTest.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/bbccae02/gemfire-core/src/test/java/com/gemstone/gemfire/internal/compression/CompressionCacheConfigDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/compression/CompressionCacheConfigDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/compression/CompressionCacheConfigDUnitTest.java
index 9f01ef8..7855377 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/compression/CompressionCacheConfigDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/compression/CompressionCacheConfigDUnitTest.java
@@ -96,6 +96,7 @@ public class CompressionCacheConfigDUnitTest extends CacheTestCase {
    * @throws Exception
    */
   public void testCreateCacheWithBadCompressor() throws Exception {
+    addExpectedException("Unable to load class BAD_COMPRESSOR");
     File cacheXml = createCacheXml(BAD_COMPRESSOR);
     assertFalse(createCacheOnVM(getVM(0),cacheXml.getCanonicalPath()));
     cacheXml.delete();


Mime
View raw message