commit | d89af1d61978b67f86226af7b4d6ebb2718f71a1 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Tue Apr 23 15:09:47 2019 +0200 |
committer | Thomas Draebing <thomas.draebing@sap.com> | Wed Apr 24 10:11:53 2019 +0200 |
tree | 0509ecd6adc374c89afe07c42d0448b162a80851 | |
parent | 1c7ebd9055c07efdac59d06289204d27d0d5b3ff [diff] |
Use java.util.concurrent.ScheduledThreadPoolExecutor for tests The stable-2.14 version of the plugin used `com.google.gerrit.server.git.WorkQueue.Executor` to mock an executor during tests. This executor implementation does not exist anymore in Gerrit 2.15. Thus, `java.util.concurrent.ScheduledThreadPoolExecutor` is now used. Change-Id: I03579b626e6592effde4aac70730283333384c50