Spring integration tests with profile

前端 未结 5 1818
温柔的废话
温柔的废话 2020-12-07 21:40

In our Spring web applications, we use the Spring bean profiles to differentiate three scenarios: development, integration, and production. We use them to connect to differe

5条回答
  •  一生所求
    2020-12-07 21:52

    there are many faces to this problem. in my case, a simple addition to build.gradle already helped:

    test { systemProperties = System.properties }
    

提交回复
热议问题