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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce8e9b3c1c4509524ebe8fe41224a2e94ceae3b6
4
- data.tar.gz: 0a5e5afe0e0acb3e9a4d9d3923035d986e707e1c
3
+ metadata.gz: b083d794f84fd4571f30fe0301f69939ecba9ccf
4
+ data.tar.gz: b24e102930c86b2bf278473ffca1e993cba68088
5
5
  SHA512:
6
- metadata.gz: e74a589991b317cfb61a40fd0ec70ecb8109c7e1d10f028d8dc2c781dae58ad100fb687d17a1e9dc76fdf4cd071daaeafd17c8a6e04782907a87d5898d95c011
7
- data.tar.gz: 20d91d341ea1b33957b53f3f6f94075d25c9cfc320bd29504327c5b9538652b6db9ade51ff5ead41f4d2ea14592bd9525c8897bd243815bd001c69f0c701dd0d
6
+ metadata.gz: db6071a9cc128bc8851d1b36ccc963b78d1f8a11a98ec799a4ab648ebfdc9fa1c8d8f462c3932587128090e9fd589aabab1ec869cab71e0b69fc79c3fd63ecc1
7
+ data.tar.gz: 97c15f5e9dd7b55bdbb1e49c52b90bcd9d5e155f81a967c1777737772924df291d2350eaa14c28de4950643416a968ca378fda5986e68440b6798cc942d9f4b1
@@ -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.2
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-14 00:00:00.000000000 Z
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