Skip to content

Commit cae822f

Browse files
Revent timeout exception change
1 parent d0be477 commit cae822f

File tree

1 file changed

+2
-2
lines changed
  • cloudinary-http42/src/test/java/com/cloudinary/test

1 file changed

+2
-2
lines changed

cloudinary-http42/src/test/java/com/cloudinary/test/ApiTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
import org.junit.Test;
88

9-
import java.net.SocketTimeoutException;
9+
import org.apache.http.conn.ConnectTimeoutException;
1010

1111
public class ApiTest extends AbstractApiTest {
12-
@Test(expected = SocketTimeoutException.class)
12+
@Test(expected = ConnectTimeoutException.class)
1313
public void testTimeoutException() throws Exception {
1414
// should allow listing resources
1515
Map<String, Object> options = new HashMap<String, Object>();

0 commit comments

Comments
 (0)