Fix junits broken by change in is-alive type

Issue-ID: POLICY-3531
Change-Id: I5eadaa6dbb0c66940a5af0c552894a3d874d51a1
Signed-off-by: Jim Hahn <jrh3@att.com>
diff --git a/main/src/test/java/org/onap/policy/pdpx/main/CommonRest.java b/main/src/test/java/org/onap/policy/pdpx/main/CommonRest.java
index a46ee50..938fe58 100644
--- a/main/src/test/java/org/onap/policy/pdpx/main/CommonRest.java
+++ b/main/src/test/java/org/onap/policy/pdpx/main/CommonRest.java
@@ -29,6 +29,7 @@
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.security.SecureRandom;
+import java.util.concurrent.atomic.AtomicBoolean;
 import javax.net.ssl.SSLContext;
 import javax.ws.rs.client.Client;
 import javax.ws.rs.client.ClientBuilder;
@@ -215,6 +216,7 @@
      */
     private void markActivator(boolean newAlive) {
         Object manager = Whitebox.getInternalState(XacmlPdpActivator.getCurrent(), "serviceManager");
-        Whitebox.setInternalState(manager, "running", newAlive);
+        AtomicBoolean running = Whitebox.getInternalState(manager, "running");
+        running.set(newAlive);
     }
 }