Code clean up
[bgpcep.git] / pcep / pcc-mock / src / test / java / org / opendaylight / protocol / pcep / pcc / mock / TestingSessionListener.java
index 9a90e7ccfff36a2ddad2a6e90663df955e275e78..8036bd6e0d1b81225fae77ebc93ffea3c19f6730 100644 (file)
@@ -71,8 +71,7 @@ public final class TestingSessionListener implements PCEPSessionListener, Listen
     }
 
     public PCEPSession getSession() {
-        Assert.assertEquals("Session up", true,
-                Uninterruptibles.awaitUninterruptibly(this.sessionLatch, 10, TimeUnit.SECONDS));
+        Assert.assertTrue("Session up", Uninterruptibles.awaitUninterruptibly(this.sessionLatch, 10, TimeUnit.SECONDS));
         return this.session;
     }