Skip to content

Commit

Permalink
disable spring cloud discovery when running test to speed up test pro… (
Browse files Browse the repository at this point in the history
#4604)

* disable spring cloud discovery when running test to speed up test process and reduce error log

* add change log

* rollback change log

* rollback change log
  • Loading branch information
wutingjia authored Oct 16, 2022
1 parent 25fa47f commit 67030ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
@RunWith(SpringJUnit4ClassRunner.class)
@Rollback
@Transactional
@SpringBootTest(classes = BizTestConfiguration.class, webEnvironment = WebEnvironment.RANDOM_PORT)
@SpringBootTest(classes = BizTestConfiguration.class, webEnvironment = WebEnvironment.RANDOM_PORT
, properties = {"spring.cloud.discovery.enabled=false"})
public abstract class AbstractIntegrationTest {

}

0 comments on commit 67030ba

Please sign in to comment.