Skip to content
Browse files

Make sure there's always more than a second betwen requests.

  • Loading branch information...
1 parent 4466d4c commit 84ef9295ae7ea22926d02a723f93f8243960953a @nextmat nextmat committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/metrics_spec.rb
View
2 spec/integration/metrics_spec.rb
@@ -9,7 +9,7 @@ module Librato
delete_all_metrics
Metrics.submit :my_counter => {:type => :counter, :value => 0}
1.upto(2).each do |i|
- sleep 1
+ sleep 1.1
Metrics.submit :my_counter => {:type => :counter, :value => i}
Metrics.submit :my_counter => {:source => 'baz', :type => :counter, :value => i+1}
end

0 comments on commit 84ef929

Please sign in to comment.
Something went wrong with that request. Please try again.