Restoring try catch for policy request
[clamp.git] / src / test / java / org / onap / clamp / clds / it / PolicyClientItCase.java
index 0c35894..c129800 100644 (file)
@@ -95,7 +95,7 @@ public class PolicyClientItCase extends AbstractItCase {
             try {
                 policyClient.sendMicroServiceInJson(policyJson, prop, tcaPolicyRequestUuid);
             } catch (Exception e) {
-                assertTrue(e.getMessage().contains("Exception while communicating with Policy"));
+                assertTrue(e.getMessage().contains("Policy send failed: PE500 "));
             }
         }
     }