1
0
Fork 0
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:
rcollier 2013-04-22 01:07:30 +00:00
parent ce0cb7d491
commit 3c975426f6

View file

@ -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));