@Test
public void testDefaultReconnect() {
Reconnect rec = new IncrementalBackoffReconnectSpec().get();
InetSocketAddress a1 = new InetSocketAddress("129.168.0.1",1001);
Tuple2<InetSocketAddress, Long> t1 = rec.reconnect(a1, 0);
assertEquals(IncrementalBackoffReconnectSpec.DEFAULT_INTERVAL,t1.getT2().longValue());
assertEquals(a1,t1.getT1());
InetSocketAddress a2 = new InetSocketAddress("129.168.0.1",1001);