From: Dave B. <bla...@us...> - 2013-02-25 12:24:03
|
Update of /cvsroot/sblim/jsr48-client/utst/org/sblim/cimclient/unittest/wbem In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26245/utst/org/sblim/cimclient/unittest/wbem Modified Files: Tag: Experimental WBEMClientTest.java Log Message: 2616 Add new API WBEMClientSBLIM.sendIndication() Index: WBEMClientTest.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/utst/org/sblim/cimclient/unittest/wbem/WBEMClientTest.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- WBEMClientTest.java 23 Feb 2013 19:56:54 -0000 1.1.2.2 +++ WBEMClientTest.java 25 Feb 2013 12:24:00 -0000 1.1.2.3 @@ -133,6 +133,8 @@ // Clean up listener.removeListener(LISTENER_PORT); client.close(); + + Thread.sleep(1000); // Delay for Java 7 to release port } catch (IOException e) { fail("Exception thrown: " + e.getMessage()); } @@ -233,5 +235,9 @@ verify("Unexpected exception for invalid port: " + e.getMessage(), e.getID() == WBEMException.CIM_ERR_INVALID_PARAMETER); } + + // Clean up + listener.removeListener(LISTENER_PORT); + client.close(); } } |