healchow commented on a change in pull request #2102:
URL: https://github.com/apache/incubator-inlong/pull/2102#discussion_r778687708
##########
File path:
inlong-manager/manager-web/src/test/java/org/apache/inlong/manager/service/workflow/WorkflowServiceTest.java
##########
@@ -36,6 +41,20 @@
@Autowired
private WorkflowDataAccessor workflowDataAccessor;
+ @Autowired
+ private PlatformTransactionManager platformTransactionManager;
+
+ @Test
+ public void testTransactionManager(){
+ System.out.println(platformTransactionManager.getClass().getName());
+ DefaultTransactionDefinition transactionDefinition = new
DefaultTransactionDefinition();
+
transactionDefinition.setPropagationBehavior(TransactionDefinition.PROPAGATION_NESTED);
+
+ TransactionStatus status =
platformTransactionManager.getTransaction(transactionDefinition);
+ System.out.println(status.getClass().getName());
Review comment:
It is recommended to use assertions instead of `System.out.println()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]