BUG-7215: Fix App Peer ModifiedNodeDoesNotExistException
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / protocol / bgp / rib / impl / config / BgpPeerTest.java
index 3cde1b5a25c4d29f1296da63a498024b38d34198..1d78d86497b8654fa96fb69acaad28ea0321ad47 100644 (file)
@@ -102,7 +102,7 @@ public class BgpPeerTest extends AbstractConfig {
             this.bgpPeer.start(this.rib, neighbor, this.mappingService, this.configurationWriter);
             fail("Expected Exception");
         } catch (final IllegalStateException expected) {
-            assertEquals("Previous peer instance {} was not closed.", expected.getMessage());
+            assertEquals("Previous peer instance was not closed.", expected.getMessage());
         }
         this.bgpPeer.setServiceRegistration(this.serviceRegistration);
         this.bgpPeer.close();