diff --git a/scheduler/SchedulerTest.cpp b/scheduler/SchedulerTest.cpp
index 0b7660378653ee6f71a583f0048bdbcde1355411..fc771abf3c2d43e7dd20aeea88c84a57d38c2c2a 100644
--- a/scheduler/SchedulerTest.cpp
+++ b/scheduler/SchedulerTest.cpp
@@ -5431,11 +5431,11 @@ using namespace cta;
   
   ASSERT_FALSE(scheduler.getNextMountDryRun(s_libraryName,drive0,lc));
   
+  catalogue.modifyMountPolicyArchiveMinRequestAge(s_adminOnAdminHost,s_mountPolicyName,0);
+  
   //The archiveMinRequestAge should have 1 second to trigger a mount
   ::sleep(1);
   
-  catalogue.modifyMountPolicyArchiveMinRequestAge(s_adminOnAdminHost,s_mountPolicyName,0);
-  
   ASSERT_TRUE(scheduler.getNextMountDryRun(s_libraryName,drive0,lc));
   
   {
@@ -5489,11 +5489,11 @@ using namespace cta;
   //mount should not be triggered
   ASSERT_FALSE(scheduler.getNextMountDryRun(s_libraryName,drive0,lc));
   
+  catalogue.modifyMountPolicyArchiveMinRequestAge(s_adminOnAdminHost,s_mountPolicyName,0);
+  
   //Sleeping one second to trigger a mount
   ::sleep(1);
   
-  catalogue.modifyMountPolicyArchiveMinRequestAge(s_adminOnAdminHost,s_mountPolicyName,0);
-  
   catalogue.modifyVirtualOrganizationWriteMaxDrives(s_adminOnAdminHost,s_vo,1);
   
   //Test the per VO writeMaxDrives: no mount should be triggered as only one drive for write