BUG-1135 Improve error reporting in config pusher
[controller.git] / opendaylight / netconf / config-persister-impl / src / test / java / org / opendaylight / controller / netconf / persist / impl / osgi / ConfigPersisterTest.java
index 1f5d2c1d0f34dec1ada1bb45ab7fbbfb17954880..b998b9eff0bee8d9e2224104a9bd0f09491f3701 100644 (file)
@@ -67,8 +67,7 @@ public class ConfigPersisterTest {
     public void testPersisterNotAllCapabilitiesProvided() throws Exception {
         setUpContextAndStartPersister("required-cap", getConflictingService());
         Thread.sleep(2000);
-        handler.assertException(IllegalStateException.class, "Max wait for capabilities reached.Not enough capabilities " +
-                "for <data><config-snapshot/></data>. Expected but not found: [required-cap]");
+        handler.assertException(IllegalStateException.class, "Required yang models that are missing: [required-cap]");
 
     }