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 886338624e7dc375521d94d0f7ef51b38b98c5dc
Author: Kirk Lund <[email protected]>
AuthorDate: Thu Mar 15 12:55:20 2018 -0700

    GEODE-4789: fix static usage of DistributedRestoreSystemProperties
---
 .../management/UniversalMembershipListenerAdapterDUnitTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/geode-core/src/test/java/org/apache/geode/management/UniversalMembershipListenerAdapterDUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/management/UniversalMembershipListenerAdapterDUnitTest.java
index 5d45239..c5069e9 100644
--- 
a/geode-core/src/test/java/org/apache/geode/management/UniversalMembershipListenerAdapterDUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/management/UniversalMembershipListenerAdapterDUnitTest.java
@@ -47,7 +47,7 @@ import java.util.concurrent.atomic.AtomicReference;
 import org.awaitility.core.ConditionTimeoutException;
 import org.junit.After;
 import org.junit.Before;
-import org.junit.ClassRule;
+import org.junit.Rule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
@@ -119,8 +119,8 @@ public class UniversalMembershipListenerAdapterDUnitTest 
extends ClientServerTes
   private final MembershipNotification leftClientNotification = new 
MembershipNotification();
   private final MembershipNotification crashedClientNotification = new 
MembershipNotification();
 
-  @ClassRule
-  public static DistributedRestoreSystemProperties 
distributedRestoreSystemProperties =
+  @Rule
+  public DistributedRestoreSystemProperties distributedRestoreSystemProperties 
=
       new DistributedRestoreSystemProperties();
 
   @Before

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to