Fix thread leak in test TransactionContextTest

This leak happens with amq5.12.0. It didn't happen
  with amq5.11.1. Adding connection.start() can work
  around this seemingly 5.12.0 issue.
This commit is contained in:
Howard Gao 2015-09-01 00:17:36 +08:00
parent cc9cacef14
commit 1642a856c3
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ public class TransactionContextTest extends BasicOpenWireTest {
@Before
public void setup() throws Exception {
connection.start();
underTest = new TransactionContext(connection);
}