Ehcache shutdown causing an exception while running test suite

前端 未结 4 946
春和景丽
春和景丽 2021-01-01 16:55

I\'m experiencing the following problem.

I have a test suit in my project and each individual test runs fine.

However when I run them as a suite I some of th

4条回答
  •  独厮守ぢ
    2021-01-01 17:34

    This issue occurs basically, Whenever you Cache shared among multiple applications. So try not to share your cache by setting shared property to false.

    But on execution you will encounter

    Another CacheManager with same name 'cacheManager' already exists in the same VM. IllegalStateException

    To counter this we need to mention

    I hope finally issue will be resolved.

提交回复
热议问题