File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
spec/octocatalog-diff/integration Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 40
40
41
41
context 'executing' do
42
42
before ( :all ) do
43
- @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
43
+ # Add retries just in case something goes wrong in CI
44
+ 3 . times do
45
+ @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
46
+ break if @exitcode . exitstatus . zero?
47
+ end
44
48
end
45
49
46
50
it 'should run without error' do
74
78
75
79
context 'executing' do
76
80
before ( :all ) do
77
- @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
81
+ # Add retries just in case something goes wrong in CI
82
+ 3 . times do
83
+ @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
84
+ break if @exitcode . exitstatus . zero?
85
+ end
78
86
end
79
87
80
88
it 'should run without error' do
106
114
107
115
context 'executing' do
108
116
before ( :all ) do
109
- @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
117
+ # Add retries just in case something goes wrong in CI
118
+ 3 . times do
119
+ @stdout , @stderr , @exitcode = Open3 . capture3 ( @script )
120
+ break if @exitcode . exitstatus . zero?
121
+ end
110
122
end
111
123
112
124
it 'should run without error' do
You can’t perform that action at this time.
0 commit comments