vagrant-g5k 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d89da08d5caa6cb1280810ea3b72c91d091959f
4
- data.tar.gz: 562b0b9462ec699626dfed30a907219e24e3cdaa
3
+ metadata.gz: e6e3b8b70409d84ba3e8085e618971fe21a4f96d
4
+ data.tar.gz: 085ca43afd7c20e6bb268c7e439bb3f148782cc6
5
5
  SHA512:
6
- metadata.gz: 3b7fa93d98a64919513727151de469ea73d0a34650e9e3f1047a1f2435afcbe722a302683d8d56d829831015982e26593749e65871409839075e2a6196c528dc
7
- data.tar.gz: 2fcbb539674ee55ccd6ddb771d17cfcd0bc4f566f8c15d483fda47949c4373abe67ee52cf3679a95c15e3e826b6c32d81d79b1efbdbfce7a562cbe5781e4ba03
6
+ metadata.gz: 1a0ffe62377539bf6f38bcfbf5bdc2bcc2edcc5766e1a68322090bb15f392104a2138e7b1b015318830ab17e9038a62454b5ea05a1e2688f1cbd4987cd1232bd
7
+ data.tar.gz: f00e2106f1cd0b8f4aa87f26b9ebe6843de8f69bac1d44fa1101cf8e151707252329f3741956b99e036e7599814de850536cae9641b6182e778bba7a4d1ad50d
Binary file
@@ -96,7 +96,7 @@ module VagrantPlugins
96
96
  @logger.info("Reserving a subnet")
97
97
  job_id = exec("oarsub -l \"slash_22=1, walltime=#{WALLTIME}\" --name #{JOB_SUBNET_NAME} \"sleep 3600\" | grep OAR_JOB_ID | cut -d '=' -f2").chomp
98
98
  begin
99
- retryable(:on => VagrantPlugins::G5K::Errors::JobNotRunning, :tries => 5, :sleep => 1) do
99
+ retryable(:on => VagrantPlugins::G5K::Errors::JobNotRunning, :tries => 100, :sleep => 3) do
100
100
  @logger.info("Waiting for the job to be running")
101
101
  job = check_job(job_id)
102
102
  if job.nil? or job["state"] != "Running"
@@ -135,7 +135,7 @@ module VagrantPlugins
135
135
 
136
136
 
137
137
  begin
138
- retryable(:on => VagrantPlugins::G5K::Errors::JobNotRunning, :tries => 5, :sleep => 1) do
138
+ retryable(:on => VagrantPlugins::G5K::Errors::JobNotRunning, :tries => 100, :sleep => 2) do
139
139
  @logger.info("Waiting for the job to be running")
140
140
  job = check_job(job_id)
141
141
  if job.nil? or job["state"] != "Running"
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module G5K
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-g5k
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Simonin