parent
6086201fe0
commit
d210980988
1 changed files with 8 additions and 3 deletions
|
@ -344,9 +344,14 @@ public abstract class KeycloakModelTest {
|
|||
return "KeycloakSessionFactory " + factoryIndex + " (from " + threadName + " thread)";
|
||||
}
|
||||
};
|
||||
try {
|
||||
res.init();
|
||||
res.publish(new PostMigrationEvent(res));
|
||||
return res;
|
||||
} catch (RuntimeException ex) {
|
||||
res.close();
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue