Remove usage of deprecated methods
@@ -31,7 +31,6 @@ import static org.junit.Assert.assertTrue;
/**
* @author Ulf Lilleengen
*/
-@SuppressWarnings("deprecation")
public class ModelContextImplTest {
@Test
@@ -89,11 +88,11 @@ public class ModelContextImplTest {
assertEquals(Optional.empty(), context.wantedDockerImageRepo());
assertEquals(new Version(7), context.modelVespaVersion());
assertEquals(new Version(8), context.wantedNodeVespaVersion());
- assertEquals(1.0, context.properties().defaultTermwiseLimit(), 0.0);
- assertFalse(context.properties().useAsyncMessageHandlingOnSchedule());
- assertEquals(0, context.properties().contentNodeBucketDBStripeBits());
- assertEquals(0x400000, context.properties().mergeChunkSize());
- assertEquals(0.5, context.properties().feedConcurrency(), 0.0);
+ assertEquals(1.0, context.properties().featureFlags().defaultTermwiseLimit(), 0.0);
+ assertFalse(context.properties().featureFlags().useAsyncMessageHandlingOnSchedule());
+ assertEquals(0, context.properties().featureFlags().contentNodeBucketDBStripeBits());
+ assertEquals(0x400000, context.properties().featureFlags().mergeChunkSize());
+ assertEquals(0.5, context.properties().featureFlags().feedConcurrency(), 0.0);
}
}
