Change-Id: Id937c37cd237ee4340a0e8e5bd63561d1e1afe21
Signed-off-by: Ed Warnicke <eaw@cisco.com>
/**
* Test all requests are handled properly and no mismatch occurs in listener
*/
/**
* Test all requests are handled properly and no mismatch occurs in listener
*/
+ /* Disabled until fixed
@Test(timeout = 5*60*1000)
public void testSecureStress() throws Exception {
final int requests = 10000;
@Test(timeout = 5*60*1000)
public void testSecureStress() throws Exception {
final int requests = 10000;
assertEquals(requests, responseCounter.get());
}
}
assertEquals(requests, responseCounter.get());
}
}
private NetconfMessage changeMessageId(final NetconfMessage getConfig, final int i) throws IOException, SAXException {
String s = XmlUtil.toString(getConfig.getDocument(), false);
s = s.replace("101", Integer.toString(i));
private NetconfMessage changeMessageId(final NetconfMessage getConfig, final int i) throws IOException, SAXException {
String s = XmlUtil.toString(getConfig.getDocument(), false);
s = s.replace("101", Integer.toString(i));