From 25b6990e222cbfb523d6db6d388985ca90847aaf Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 3 Nov 2016 09:11:11 +0530 Subject: [PATCH] server: Fix build regression caused by 32a39 A constructor signature has changed between 4.8 and 4.9+ branches which caused failure in a unit test introduced by PR #1694. This fixes the unit test by passing null as the additional parameter (the test does not need instantiated object). Signed-off-by: Rohit Yadav --- .../test/com/cloud/storage/listener/StoragePoolMonitorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/test/com/cloud/storage/listener/StoragePoolMonitorTest.java b/server/test/com/cloud/storage/listener/StoragePoolMonitorTest.java index 06733f44034..02009669d29 100644 --- a/server/test/com/cloud/storage/listener/StoragePoolMonitorTest.java +++ b/server/test/com/cloud/storage/listener/StoragePoolMonitorTest.java @@ -46,7 +46,7 @@ public class StoragePoolMonitorTest { storageManager = Mockito.mock(StorageManagerImpl.class); poolDao = Mockito.mock(PrimaryDataStoreDao.class); - storagePoolMonitor = new StoragePoolMonitor(storageManager, poolDao); + storagePoolMonitor = new StoragePoolMonitor(storageManager, poolDao, null); host = new HostVO("some-uuid"); pool = new StoragePoolVO(); pool.setScope(ScopeType.CLUSTER);