You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2018/01/29 20:26:14 UTC
[geode] 02/03: GEODE-4390: add FlakyTest category to
testCloseDiskStoreWhenPut
This is an automated email from the ASF dual-hosted git repository.
klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
commit aab2332dac62a897dae9088d9cbe5e774b04d1d6
Author: Kirk Lund <kl...@apache.org>
AuthorDate: Mon Jan 29 12:25:06 2018 -0800
GEODE-4390: add FlakyTest category to testCloseDiskStoreWhenPut
---
.../geode/internal/cache/partitioned/PersistPRKRFDUnitTest.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistPRKRFDUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistPRKRFDUnitTest.java
index e8fb004..efb4c2f 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistPRKRFDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistPRKRFDUnitTest.java
@@ -14,7 +14,8 @@
*/
package org.apache.geode.internal.cache.partitioned;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
import java.util.Properties;
@@ -41,13 +42,14 @@ import org.apache.geode.test.dunit.ThreadUtils;
import org.apache.geode.test.dunit.VM;
import org.apache.geode.test.dunit.Wait;
import org.apache.geode.test.junit.categories.DistributedTest;
+import org.apache.geode.test.junit.categories.FlakyTest;
/**
* Tests the basic use cases for PR persistence.
- *
*/
@Category(DistributedTest.class)
public class PersistPRKRFDUnitTest extends PersistentPartitionedRegionTestBase {
+
private static final int NUM_BUCKETS = 15;
private static final int MAX_WAIT = 30 * 1000;
static Object lockObject = new Object();
@@ -59,6 +61,7 @@ public class PersistPRKRFDUnitTest extends PersistentPartitionedRegionTestBase {
* "-Ddisk.KRF_DEBUG=true";
*/
@Test
+ @Category(FlakyTest.class)
public void testCloseDiskStoreWhenPut() {
final String title = "testCloseDiskStoreWhenPut:";
Host host = Host.getHost(0);
--
To stop receiving notification emails like this one, please contact
klund@apache.org.