mirror of https://github.com/apache/activemq.git
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:
parent
83fde0b2a0
commit
15f641634b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue