Add an assertion to test that interrupted state is preserved.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1195046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-10-29 21:44:27 +00:00
parent 83fde0b2a0
commit 15f641634b
1 changed files with 57 additions and 57 deletions

View File

@ -16,9 +16,7 @@
*/
package org.apache.activemq.bugs;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import static org.junit.Assert.*;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
@ -83,6 +81,8 @@ public class AMQ3529Test {
connection.close();
} catch (JMSException e) {
}
assertTrue(Thread.currentThread().isInterrupted());
}
};
client.start();