simp-beaker-helpers 1.12.0 → 1.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72ec3c87384ec91370fa23c4ad597d05d9244ea1489cdbbd0309ad056837fd64
4
- data.tar.gz: fb2aec92e7da3523555fd5271c74eaa03c1980192bce56f4db8d814ff1e8b99c
3
+ metadata.gz: f08b36ddb74853e6b412100826f8ff3861bc9167a7fefb19846242adc0c8cb9a
4
+ data.tar.gz: 410c4055452b3fd33bb9f3fdc3182e7b4eff62a6c952db740957c244b40265c0
5
5
  SHA512:
6
- metadata.gz: be4a71d244439e6a42eb65482faadc33dd66fb3e23f5dbbf71d81e57b8571fb4fb268292abdeac113a619deda38a7efb22a2ad9270869ca2fff3f4dcd2d2ef92
7
- data.tar.gz: 44e06c866ba8ebb50bc730ce389de25c2f64aecca213a18a88df55aa1b60f67aa320c427e3d140078c3d41ce221a901a30a987d734c8a3da4f81c30652fc1e8c
6
+ metadata.gz: 6057883981b6554084ede31a5a718651fceedaee87a4bfc94f5c6e77c3580cbf4e5bb2f5da5ffb9831cbc5d3fe143849de6dab9ec5278e7352e27dd9148f12a6
7
+ data.tar.gz: c9cf815d91e0c3e750bdc4046c160ec7fb492181accf2f95230f15b29dd123b0f79eff396b8e694c9e1bc47360bd82e099da9cd72992beebebb24e6f3f6d1616
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.12.1 / 2018-10-24
2
+ * Fall back to SSH file copies automatically when rsync does not work due to
3
+ test cases that affect ssh directly and that will cause new sessions to fail.
4
+
1
5
  ### 1.12.0 / 2018-10-22
2
6
  * When using suites, allow users to loop through multiple specified nodesets as
3
7
  a colon delimited list or loop through all nodesets by passing 'ALL'.
@@ -68,7 +68,16 @@ module Simp::BeakerHelpers
68
68
 
69
69
  # End rsync hackery
70
70
 
71
- rsync_to(sut, src, dest, _opts)
71
+ begin
72
+ rsync_to(sut, src, dest, _opts)
73
+ rescue
74
+ # Depending on what is getting tested, a new SSH session might not
75
+ # work. In this case, we fall back to SSH.
76
+ #
77
+ # The rsync failure is quite fast so this doesn't affect performance as
78
+ # much as shoving a bunch of data over the ssh session.
79
+ scp_to(sut, src, dest, opts)
80
+ end
72
81
  else
73
82
  scp_to(sut, src, dest, opts)
74
83
  end
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.12.0'
4
+ VERSION = '1.12.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-beaker-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer