workflow_manager 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,7 +133,7 @@ module WorkflowManager
133
133
  IO.popen('qstat -u "*"') do |io|
134
134
  while line=io.gets
135
135
  jobid, prior, name, user, state, *others = line.chomp.split
136
- if jobid.strip == job_id and state == 'qw'
136
+ if jobid.strip == job_id and state =~ /qw/
137
137
  qstat_flag = true
138
138
  break
139
139
  end
@@ -1,3 +1,3 @@
1
1
  module WorkflowManager
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
data/spec/server_spec.rb CHANGED
@@ -73,11 +73,14 @@ INPUT_DATASET=/srv/gstore/projects/p1535/test_masa/input_dataset.tsv"
73
73
  allow(server).to receive(:input_dataset_exist?)
74
74
  end
75
75
  context 'when submit_job failed' do
76
+ pending
77
+ =begin
76
78
  before do
77
79
  allow(cluster).to receive(:submit_job)
78
80
  end
79
81
  subject {server.start_monitoring2(script_path, script_content)}
80
82
  it {is_expected.to be_nil}
83
+ =end
81
84
  end
82
85
  context 'when submit_job successed' do
83
86
  pending
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: workflow_manager
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Functional Genomics Center Zurich
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2016-03-21 00:00:00 Z
13
+ date: 2016-03-31 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler