This is an automated email from the ASF dual-hosted git repository.
zhouxj pushed a commit to branch feature/GEODE-3569
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-3569 by this
push:
new c08cb55 GEODE-3569: add one more dunit test for serializer
verification
c08cb55 is described below
commit c08cb555a698df73983d917e7551e97061c0d8b9
Author: zhouxh <[email protected]>
AuthorDate: Wed Sep 20 17:39:55 2017 -0700
GEODE-3569: add one more dunit test for serializer verification
---
.../geode/cache/lucene/LuceneIndexCreationDUnitTest.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexCreationDUnitTest.java
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexCreationDUnitTest.java
index 29475a3..e41cf85 100644
---
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexCreationDUnitTest.java
+++
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexCreationDUnitTest.java
@@ -336,6 +336,17 @@ public class LuceneIndexCreationDUnitTest extends
LuceneDUnitTest {
CANNOT_CREATE_LUCENE_INDEX_DIFFERENT_SERIALIZER));
}
+ @Test
+ @Parameters("PARTITION")
+ public void verifyDifferentSerializerShouldFail2(RegionTestableType
regionType) {
+ SerializableRunnableIF createIndex1 =
getHeterogeneousLuceneSerializerCreationProfile();
+ dataStore1.invoke(() -> initDataStore(createIndex1, regionType));
+
+ SerializableRunnableIF createIndex2 = getIndexWithDummySerializer();
+ dataStore2.invoke(() -> initDataStore(createIndex2, regionType,
+ CANNOT_CREATE_LUCENE_INDEX_DIFFERENT_SERIALIZER));
+ }
+
protected String getXmlFileForTest(String testName) {
return TestUtil.getResourcePath(getClass(),
getClassSimpleName() + "." + testName + ".cache.xml");
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].