Skip to content

Commit 130df53

Browse files
committed
updated with a test for an issue 75
1 parent 8cdd3cb commit 130df53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-complete/src/test/java/com/marklogic/javaclient/TestDatabaseClientConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void testReleasedClient() throws IOException
5252
stringException = "Client is not available - " + e;
5353
}
5454

55-
String expectedException = "Client is not available - java.lang.NullPointerException";
55+
String expectedException = "Client is not available - java.lang.IllegalStateException: You cannot use this connected object anymore--connection has already been released";
5656
assertEquals("Exception is not thrown", expectedException, stringException);
5757
}
5858

0 commit comments

Comments
 (0)