datadog-sdk-testing 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/ci/common.rb +2 -2
- data/lib/tasks/sdk.rake +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b083d794f84fd4571f30fe0301f69939ecba9ccf
|
4
|
+
data.tar.gz: b24e102930c86b2bf278473ffca1e993cba68088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db6071a9cc128bc8851d1b36ccc963b78d1f8a11a98ec799a4ab648ebfdc9fa1c8d8f462c3932587128090e9fd589aabab1ec869cab71e0b69fc79c3fd63ecc1
|
7
|
+
data.tar.gz: 97c15f5e9dd7b55bdbb1e49c52b90bcd9d5e155f81a967c1777737772924df291d2350eaa14c28de4950643416a968ca378fda5986e68440b6798cc942d9f4b1
|
data/lib/tasks/ci/common.rb
CHANGED
@@ -173,7 +173,7 @@ class Wait
|
|
173
173
|
s = TCPSocket.new('localhost', port)
|
174
174
|
s.close
|
175
175
|
return true
|
176
|
-
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, EOFError
|
176
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, EOFError, Errno::ECONNRESET
|
177
177
|
return false
|
178
178
|
end
|
179
179
|
end
|
@@ -186,7 +186,7 @@ class Wait
|
|
186
186
|
begin
|
187
187
|
r = HTTParty.get(url)
|
188
188
|
return (200...300).cover? r.code
|
189
|
-
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, EOFError
|
189
|
+
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH, EOFError, Errno::ECONNRESET
|
190
190
|
return false
|
191
191
|
end
|
192
192
|
end
|
data/lib/tasks/sdk.rake
CHANGED
@@ -33,6 +33,7 @@ task 'setup_env' do
|
|
33
33
|
# install agent core dependencies
|
34
34
|
`#{ENV['SDK_HOME']}/venv/bin/pip install -r #{ENV['SDK_HOME']}/embedded/dd-agent/requirements.txt`
|
35
35
|
`echo "#{ENV['SDK_HOME']}/embedded/dd-agent/" > #{ENV['SDK_HOME']}/venv/lib/python2.7/site-packages/datadog-agent.pth`
|
36
|
+
gem_home = Bundler.rubygems.find_name('datadog-sdk-testing').first.full_gem_path
|
36
37
|
`cp #{gem_home}/lib/config/datadog.conf #{ENV['SDK_HOME']}/embedded/dd-agent/datadog.conf`
|
37
38
|
end
|
38
39
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog-sdk-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaime Fullaondo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Datadog Integration SDK testing/scaffolding gem
|
14
14
|
email: jaime.fullaondo@datadoghq.com
|