instana 1.5.1 → 1.5.2

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: bacfa79d8738e22df4c39e377e79d9cb379b2677
4
- data.tar.gz: e925ce5389ab885c75a73988b4500638f30cb51d
3
+ metadata.gz: 2f4bc2a5ccafd6784e94f221a85e0fba6834fe23
4
+ data.tar.gz: f23e89da1122a87d34206ffaaa213aef0833c692
5
5
  SHA512:
6
- metadata.gz: 8691ec75ccce17eff2f1d97c536e80e2875a39fa72928951c4f45a77ff00d8c7b1fa71ed08aedbce2305784c9d102f4fc8a89945061be15b32eaa67758743548
7
- data.tar.gz: d6252569230dd5a6dc5567485cf0b2fc3f2689cdc55077d4f401913b1420a08fb0190e2465d2f827a854a801c35a62b922db597ec4d9d10332386824c00fe8f7
6
+ metadata.gz: f653bfd0c09c1a1bd878b809b475c668d91c7c7bc759fbd306801d49a1bf18bea66b89747176043c72102e98e439005205170e8d2bfa63ecdf21e2dbbc225f27
7
+ data.tar.gz: 497fa0cd4b43d55260eceb7c34bbc66b6e0b8a497283b607a05761cfb1cf9afd0ad67bc849f0bb28ba7ea84aa7263849ce7239f33a3a9a7b07939a081acdc873
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  # Indirect dependency
38
38
  # https://github.com/instana/ruby-sensor/issues/10
39
- spec.add_runtime_dependency('ffi', '>= 1.9.3')
39
+ spec.add_runtime_dependency('ffi', '>= 1.8.1')
40
40
  end
@@ -25,7 +25,7 @@ module Instana
25
25
  #
26
26
  # @param [Trace] the trace to be added to the queue
27
27
  def add(trace)
28
- ::Instana.logger.debug("Queuing completed trace id: #{trace.id}")
28
+ # ::Instana.logger.debug("Queuing completed trace id: #{trace.id}")
29
29
  @queue.push(trace)
30
30
  end
31
31
 
@@ -1,4 +1,4 @@
1
1
  module Instana
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  VERSION_FULL = "instana-#{VERSION}"
4
4
  end
@@ -79,6 +79,9 @@ class GrpcTest < Minitest::Test
79
79
 
80
80
  assert 'Hello World', response.message
81
81
 
82
+ # Pause for a split second to allow traces to be queued
83
+ sleep 0.2
84
+
82
85
  assert_equal 2, ::Instana.processor.queue_count
83
86
  client_trace, server_trace = differentiate_trace(
84
87
  Instana.processor.queued_traces
@@ -111,6 +114,9 @@ class GrpcTest < Minitest::Test
111
114
 
112
115
  assert '01234', response.message
113
116
 
117
+ # Pause for a split second to allow traces to be queued
118
+ sleep 0.2
119
+
114
120
  assert_equal 2, ::Instana.processor.queue_count
115
121
  client_trace, server_trace = differentiate_trace(
116
122
  Instana.processor.queued_traces
@@ -138,10 +144,11 @@ class GrpcTest < Minitest::Test
138
144
  PingPongService::PingRequest.new(message: 'Hello World')
139
145
  )
140
146
  end
141
- sleep 1
142
-
143
147
  assert %w(0 1 2 3 4), responses.map(&:message)
144
148
 
149
+ # Pause for a split second to allow traces to be queued
150
+ sleep 0.2
151
+
145
152
  assert_equal 2, ::Instana.processor.queue_count
146
153
  client_trace, server_trace = differentiate_trace(
147
154
  Instana.processor.queued_traces
@@ -175,6 +182,9 @@ class GrpcTest < Minitest::Test
175
182
 
176
183
  assert %w(0 2 4 6 8), responses.to_a.map(&:message)
177
184
 
185
+ # Pause for a split second to allow traces to be queued
186
+ sleep 0.2
187
+
178
188
  assert_equal 2, ::Instana.processor.queue_count
179
189
  client_trace, server_trace = differentiate_trace(
180
190
  Instana.processor.queued_traces
@@ -202,6 +212,9 @@ class GrpcTest < Minitest::Test
202
212
  end
203
213
  end
204
214
 
215
+ # Pause for a split second to allow traces to be queued
216
+ sleep 0.2
217
+
205
218
  assert_equal 2, ::Instana.processor.queue_count
206
219
  client_trace, server_trace = differentiate_trace(
207
220
  Instana.processor.queued_traces
@@ -234,6 +247,9 @@ class GrpcTest < Minitest::Test
234
247
  end
235
248
  end
236
249
 
250
+ # Pause for a split second to allow traces to be queued
251
+ sleep 0.2
252
+
237
253
  assert_equal 2, ::Instana.processor.queue_count
238
254
  client_trace, server_trace = differentiate_trace(
239
255
  Instana.processor.queued_traces
@@ -264,7 +280,9 @@ class GrpcTest < Minitest::Test
264
280
  rescue
265
281
  end
266
282
  end
267
- sleep 1
283
+
284
+ # Pause for a split second to allow traces to be queued
285
+ sleep 0.2
268
286
 
269
287
  assert_equal 2, ::Instana.processor.queue_count
270
288
  client_trace, server_trace = differentiate_trace(
@@ -294,7 +312,9 @@ class GrpcTest < Minitest::Test
294
312
  end
295
313
  )
296
314
  end
297
- sleep 1
315
+
316
+ # Pause for a split second to allow traces to be queued
317
+ sleep 0.2
298
318
 
299
319
  assert_equal 2, ::Instana.processor.queue_count
300
320
  client_trace, server_trace = differentiate_trace(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 1.9.3
145
+ version: 1.8.1
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.9.3
152
+ version: 1.8.1
153
153
  description: Provides Ruby sensor instrumentation for Instana.
154
154
  email:
155
155
  - pglombardo@gmail.com