You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/03/08 00:21:22 UTC

[GitHub] [servicecomb-pack] WillemJiang commented on a change in pull request #745: WIP: SCB-2421 Upgrade Spring Boot 2.3.12.RELEASE and Spring Cloud Hoxton.SR12

WillemJiang commented on a change in pull request #745:
URL: https://github.com/apache/servicecomb-pack/pull/745#discussion_r821216555



##########
File path: alpha/alpha-server/src/test/java/org/apache/servicecomb/pack/alpha/server/tcc/service/TccTxEventServiceTest.java
##########
@@ -160,8 +159,8 @@ public void clearUpCompletedTxFromGlobalTxTable() {
 
     tccTxEventService.clearCompletedGlobalTx(1);
 
-    assertThat(participatedEventRepository.findByGlobalTxId(globalTxId).isPresent(), is(false));
-    assertThat(globalTxEventRepository.findByGlobalTxId(globalTxId).isPresent(), is(false));
+    assertThat(participatedEventRepository.findByGlobalTxId(globalTxId).get().isEmpty(), is(true));

Review comment:
       It looks like the JPA API is changed.




-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org