simp-beaker-helpers 1.12.0 → 1.12.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/simp/beaker_helpers.rb +10 -1
- data/lib/simp/beaker_helpers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f08b36ddb74853e6b412100826f8ff3861bc9167a7fefb19846242adc0c8cb9a
|
4
|
+
data.tar.gz: 410c4055452b3fd33bb9f3fdc3182e7b4eff62a6c952db740957c244b40265c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'.
|
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -68,7 +68,16 @@ module Simp::BeakerHelpers
|
|
68
68
|
|
69
69
|
# End rsync hackery
|
70
70
|
|
71
|
-
|
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
|