iotlab driver: Removed the 4 minutes, which were added by default to the leases in...
authorLoic Baron <sandrine.avakian@inria.fr>
Wed, 30 Jul 2014 13:52:33 +0000 (15:52 +0200)
committerLoic Baron <sandrine.avakian@inria.fr>
Wed, 30 Jul 2014 13:52:33 +0000 (15:52 +0200)
sfa/iotlab/iotlabshell.py

index 25aba10..34de4b1 100644 (file)
@@ -498,7 +498,9 @@ class IotlabShell():
             # Put the duration in seconds first
             #desired_walltime = duration * 60
             desired_walltime = duration
-            total_walltime = desired_walltime + 240 #+4 min Update SA 23/10/12
+            # JORDAN : removed the 4 minutes added by default in iotlab
+            # XXX total_walltime = desired_walltime + 240 #+4 min Update SA 23/10/12
+            total_walltime = desired_walltime # Needed to have slots aligned in MySlice (temp fix) # JA 11/07/2014
             sleep_walltime = desired_walltime  # 0 sec added Update SA 23/10/12
             walltime = []
             #Put the walltime back in str form