Skip to content

Commit 9993802

Browse files
Augusto PassalaquaAugusto Passalaqua
authored andcommitted
Simplify the check for existing context on tear down MF.
1 parent a9890fc commit 9993802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javasource/unittesting/TestManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private void runMfTearDown(TestSuite testSuite)
149149
try
150150
{
151151
LOG.info("Running TearDown microflow..");
152-
if (!Core.getMicroflowNames().contains(testSuite.getModule() + ".Setup")) {
152+
if (tearDownContext == null) {
153153
tearDownContext = Core.createSystemContext();
154154
}
155155
if (testSuite.getAutoRollbackMFs()) {

0 commit comments

Comments
 (0)