mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-19 17:17:57 +01:00
SMACK-433 Removed unnecessary reset of timeout.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13622 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
ce0cb7d491
commit
3c975426f6
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ public class EntityCapsTest extends SmackTestCase {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
SmackConfiguration.setAutoEnableEntityCaps(true);
|
SmackConfiguration.setAutoEnableEntityCaps(true);
|
||||||
SmackConfiguration.setPacketReplyTimeout(1000 * 60 * 5);
|
|
||||||
con0 = getConnection(0);
|
con0 = getConnection(0);
|
||||||
con1 = getConnection(1);
|
con1 = getConnection(1);
|
||||||
ecm0 = EntityCapsManager.getInstanceFor(getConnection(0));
|
ecm0 = EntityCapsManager.getInstanceFor(getConnection(0));
|
||||||
|
@ -47,7 +47,7 @@ public class EntityCapsTest extends SmackTestCase {
|
||||||
sdm1 = ServiceDiscoveryManager.getInstanceFor(con1);
|
sdm1 = ServiceDiscoveryManager.getInstanceFor(con1);
|
||||||
letsAllBeFriends();
|
letsAllBeFriends();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testLocalEntityCaps() throws InterruptedException {
|
public void testLocalEntityCaps() throws InterruptedException {
|
||||||
DiscoverInfo info = EntityCapsManager.getDiscoveryInfoByNodeVer(ecm1.getLocalNodeVer());
|
DiscoverInfo info = EntityCapsManager.getDiscoveryInfoByNodeVer(ecm1.getLocalNodeVer());
|
||||||
assertFalse(info.containsFeature(DISCOVER_TEST_FEATURE));
|
assertFalse(info.containsFeature(DISCOVER_TEST_FEATURE));
|
||||||
|
|
Loading…
Reference in a new issue