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 2016/03/22 19:28:24 UTC
incubator-geode git commit: Use RetryRule
Repository: incubator-geode
Updated Branches:
refs/heads/feature/GEODE-693 62b19e173 -> abb321e7e
Use RetryRule
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/abb321e7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/abb321e7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/abb321e7
Branch: refs/heads/feature/GEODE-693
Commit: abb321e7e5bd0fe47da52543667538d137ca54a7
Parents: 62b19e1
Author: Kirk Lund <kl...@apache.org>
Authored: Tue Mar 22 11:28:04 2016 -0700
Committer: Kirk Lund <kl...@apache.org>
Committed: Tue Mar 22 11:28:04 2016 -0700
----------------------------------------------------------------------
.../gemfire/security/ClientPostAuthorizationDUnitTest.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/abb321e7/geode-cq/src/test/java/com/gemstone/gemfire/security/ClientPostAuthorizationDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-cq/src/test/java/com/gemstone/gemfire/security/ClientPostAuthorizationDUnitTest.java b/geode-cq/src/test/java/com/gemstone/gemfire/security/ClientPostAuthorizationDUnitTest.java
index bc71a2c..53d5f9e 100644
--- a/geode-cq/src/test/java/com/gemstone/gemfire/security/ClientPostAuthorizationDUnitTest.java
+++ b/geode-cq/src/test/java/com/gemstone/gemfire/security/ClientPostAuthorizationDUnitTest.java
@@ -28,7 +28,10 @@ import com.gemstone.gemfire.security.generator.AuthzCredentialGenerator;
import com.gemstone.gemfire.security.generator.CredentialGenerator;
import com.gemstone.gemfire.test.dunit.Host;
import com.gemstone.gemfire.test.dunit.LogWriterUtils;
+import com.gemstone.gemfire.test.junit.Retry;
import com.gemstone.gemfire.test.junit.categories.DistributedTest;
+import com.gemstone.gemfire.test.junit.rules.RetryRule;
+import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@@ -44,6 +47,9 @@ import org.junit.experimental.categories.Category;
public class ClientPostAuthorizationDUnitTest extends
ClientAuthorizationTestBase {
+ @Rule
+ public RetryRule retryRule = new RetryRule();
+
@Override
public final void postSetUp() throws Exception {
final Host host = Host.getHost(0);
@@ -59,6 +65,7 @@ public class ClientPostAuthorizationDUnitTest extends
}
@Test
+ @Retry(2)
public void testAllPostOps() {
OperationWithAction[] allOps = {