Polishing
This commit is contained in:
@@ -96,13 +96,15 @@ class TransactionContext {
|
||||
throw new IllegalStateException(
|
||||
"Cannot start a new transaction without ending the existing transaction first.");
|
||||
}
|
||||
|
||||
this.flaggedForRollback = this.defaultRollback;
|
||||
this.transactionStatus = this.transactionManager.getTransaction(this.transactionDefinition);
|
||||
++this.transactionsStarted;
|
||||
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info(String.format(
|
||||
"Began transaction (%s) for test context %s; transaction manager [%s]; rollback [%s]",
|
||||
this.transactionsStarted, this.testContext, this.transactionManager, flaggedForRollback));
|
||||
"Began transaction (%s) for test context %s; transaction manager [%s]; rollback [%s]",
|
||||
this.transactionsStarted, this.testContext, this.transactionManager, flaggedForRollback));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user