王登武
王登武
which version did you used? i have test the 4.0.3 is ok,the idle is 0 for a while,housekeeper do that every 30.5s,if you set IdleTimeout 60s, may be need 61s...
after closed the dataSource, you need to new one, because the pool is shutdown also。 why close the dataSource? just set the isShutdown to true would not work。
yes houseKeepingExecutorService's corePoolSize is 1
which version did you use?may be the latest have fixed that issue
If anyone still needs mock static methods, have a look at [spock-mockfree](http://github.com/sayweee/spock-mockfree)