0

When I run the test cases some of the schedular task got started. But I want that these schedular should not start at test .

I have tried by using @Profile(!test), also @ConditionalOnProperty() and by putting initialDelay with @Scheduled. But didn't work

avariant
  • 2,234
  • 5
  • 25
  • 33
Neha
  • 11
  • 1

0 Answers0