Commit fb8ddbda584393dd1abe8a59ec68120ec3949bc6

Authored by ShvaykaD
1 parent 637ad6ca

changed doReturn for cassandraBaseTimeseriesDao.getFuture in tests

... ... @@ -88,7 +88,7 @@ public class CassandraPartitionsCacheTest {
88 88 when(boundStatement.setUuid(anyInt(), any(UUID.class))).thenReturn(boundStatement);
89 89 when(boundStatement.setLong(anyInt(), any(Long.class))).thenReturn(boundStatement);
90 90
91   - doReturn(Futures.immediateFuture(null)).when(cassandraBaseTimeseriesDao).getFuture(any(TbResultSetFuture.class), any());
  91 + doReturn(Futures.immediateFuture(0)).when(cassandraBaseTimeseriesDao).getFuture(any(TbResultSetFuture.class), any());
92 92 }
93 93
94 94 @Test
... ...