how to disable seata when run unit test?

oewdyzsn  于 2023-02-04  发布在  其他
关注(0)|答案(2)|浏览(163)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

how to disable seata when run unit test?

Ⅱ. Describe what happened

I hava try config this in application.properties in the test folder in resources folder ,but not work,
seata.enabled=false
seata.enable-auto-data-source-proxy=false

seata version :seata all 1.4

Ⅲ. Describe what you expected to happen

support jump seata when I run unit test。

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version : jdk 8
  • OS :
  • Others:
gdx19jrr

gdx19jrr1#

seata.service.disable-global-transaction=true

lskq00tm

lskq00tm2#

seata.service.disable-global-transaction=true

still load seata ...

相关问题