osc-machete 1.2.0 → 1.2.1

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: 02bb808f1fcf915c8b6c5cbe38b00e692e021b03
4
- data.tar.gz: dbed1c7b521247a391709633bb67a8e87dd37d93
3
+ metadata.gz: 278d35cf155df22288ff6461da640b4343ded2b7
4
+ data.tar.gz: 249a7dbc0bcc024cec9a194393d2824b3a2c5a0f
5
5
  SHA512:
6
- metadata.gz: 84d14aa284eeac069213601ccd58ef5e8ebbdcc533c20cc1b2c646f339bbcf25815c77093099f3e06ea44755f27b10808b14f8beda4d80a4585cb5a6795e6e7e
7
- data.tar.gz: 67295194bd75c9cf59a6cdc077025e199051bb7144b8de17650cdb002ec095e9a2a199fb1786328a266ad584370ad1a0daa5825197db68cd9e34683c49fe714e
6
+ metadata.gz: 0a1d597265cd0156dc6048116ddb0d280708f5b2695e0b0c6239b29b6d8213c74f6868988731e1b0a83e9bba581116072e31ff2aaedf3fa0952bf9e27bedafd2
7
+ data.tar.gz: b17d96c2572a8c15bcea6fa0360c710ee3777b4568f676c4e127c6d3cebaea0d5966fec445bc1ecf6308f1efe9aa6ecc4c2abb09495e831edf3b649aa0cfd93a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.2.1] - 2016-12-16
9
+
10
+ ### Fixed
11
+
12
+ - host name for Quick Cluster changed
13
+
8
14
  ## [1.2.0] - 2016-09-06
9
15
 
10
16
  ### Added
@@ -13,7 +13,7 @@ class OSC::Machete::TorqueHelper
13
13
  HOSTS = {
14
14
  'oakley' => 'oak-batch.osc.edu',
15
15
  'ruby' => 'ruby-batch.osc.edu',
16
- 'quick' => 'quick-batch.osc.edu',
16
+ 'quick' => 'quick-batch.ten.osc.edu',
17
17
  'owens' => 'owens-batch.ten.osc.edu',
18
18
  :default => 'oak-batch.osc.edu'
19
19
  }
@@ -1,6 +1,6 @@
1
1
  module OSC
2
2
  module Machete
3
3
  # The current gem version
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  #PBS -l walltime=00:30:00
2
2
  #PBS -l nodes=1:ppn=12
3
3
  #PBS -S /bin/bash
4
- #PBS -q @quick-batch.osc.edu
4
+ #PBS -q @quick-batch.ten.osc.edu
5
5
  #PBS -N foobar
6
6
  #PBS -j oe
7
7
  #PBS -r n
@@ -106,7 +106,7 @@ class TestTorqueHelper < Minitest::Test
106
106
  # Test that qdel works for quick batch
107
107
  def test_qdel_quick
108
108
  PBS::Batch.any_instance.stubs(:delete_job).returns(true)
109
- assert_equal true, @shell.qdel("123.quick-batch.osc.edu")
109
+ assert_equal true, @shell.qdel("123.quick-batch.ten.osc.edu")
110
110
  PBS::Batch.any_instance.unstub(:delete_job)
111
111
  end
112
112
 
@@ -120,18 +120,18 @@ class TestTorqueHelper < Minitest::Test
120
120
  # Test that qdel throws exception on PBS exception
121
121
  def test_qdel_throws_exception
122
122
  PBS::Batch.any_instance.stubs(:delete_job).raises(PBS::Error)
123
- assert_raises(PBS::Error) { @shell.qdel("123.quick-batch.osc.edu") }
123
+ assert_raises(PBS::Error) { @shell.qdel("123.quick-batch.ten.osc.edu") }
124
124
  PBS::Batch.any_instance.unstub(:delete_job)
125
125
 
126
126
  PBS::Batch.any_instance.stubs(:delete_job).raises(PBS::SystemError)
127
- assert_raises(PBS::SystemError) { @shell.qdel("123.quick-batch.osc.edu") }
127
+ assert_raises(PBS::SystemError) { @shell.qdel("123.quick-batch.ten.osc.edu") }
128
128
  PBS::Batch.any_instance.unstub(:delete_job)
129
129
  end
130
130
 
131
131
  # Test that qdel doesn't throw exception if Unknown Job Id exception
132
132
  def test_qdel_doesnt_throw_exception_on_unknown_job_id
133
133
  PBS::Batch.any_instance.stubs(:delete_job).raises(PBS::UnkjobidError)
134
- @shell.qdel("123.quick-batch.osc.edu")
134
+ @shell.qdel("123.quick-batch.ten.osc.edu")
135
135
  PBS::Batch.any_instance.unstub(:delete_job)
136
136
  end
137
137
 
@@ -157,7 +157,7 @@ class TestTorqueHelperLive < Minitest::Test
157
157
  if Socket.gethostname == @submit_host
158
158
  # Submit a small job.
159
159
  live_job = torque.qsub(@script_quick, host: 'quick')
160
- assert_match(/\d+.quick-batch.osc.edu/, live_job)
160
+ assert_match(/\d+.quick-batch.ten.osc.edu/, live_job)
161
161
 
162
162
  # Qstat it to make sure it's queued.
163
163
  live_status = torque.qstat(live_job)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osc-machete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Franz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.4.8
157
+ rubygems_version: 2.4.5
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Common interface for working with HPC batch jobs (currently OSC specific)
@@ -175,3 +175,4 @@ test_files:
175
175
  - test/test_status.rb
176
176
  - test/test_torque_helper.rb
177
177
  - test/test_torque_helper_live.rb
178
+ has_rdoc: