diff --git a/modules/dcache/src/test/java/org/dcache/pool/classic/HotfileMonitoringTest.java b/modules/dcache/src/test/java/org/dcache/pool/classic/HotfileMonitoringTest.java index 507f70e6356..88376ff7c11 100644 --- a/modules/dcache/src/test/java/org/dcache/pool/classic/HotfileMonitoringTest.java +++ b/modules/dcache/src/test/java/org/dcache/pool/classic/HotfileMonitoringTest.java @@ -17,7 +17,7 @@ public class HotfileMonitoringTest { @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:org/dcache/pool/classic/hotfile-monitoring-test.xml"}) - @TestPropertySource(properties = "pool.hotfile.monitoring.enable=true") + @TestPropertySource(properties = "pool.hotfile.replication.enable=true") public static class Enabled { @Autowired @@ -32,7 +32,7 @@ public void testEnabled() { @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:org/dcache/pool/classic/hotfile-monitoring-test.xml"}) - @TestPropertySource(properties = "pool.hotfile.monitoring.enable=false") + @TestPropertySource(properties = "pool.hotfile.replication.enable=false") public static class Disabled { @Autowired diff --git a/modules/dcache/src/test/resources/org/dcache/pool/classic/hotfile-monitoring-test.xml b/modules/dcache/src/test/resources/org/dcache/pool/classic/hotfile-monitoring-test.xml index 907290f57d1..af50a5851c1 100644 --- a/modules/dcache/src/test/resources/org/dcache/pool/classic/hotfile-monitoring-test.xml +++ b/modules/dcache/src/test/resources/org/dcache/pool/classic/hotfile-monitoring-test.xml @@ -15,7 +15,7 @@ + value="#{ ${pool.hotfile.replication.enable} ? migration : null }"/>