Преглед на файлове

Gaps can be a bit longer now that packets are queued

Christopher Mullins преди 6 години
родител
ревизия
d0f68e1d4b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/remote/spec/mqtt_spec.rb

+ 1 - 1
test/remote/spec/mqtt_spec.rb

@@ -190,7 +190,7 @@ RSpec.describe 'MQTT' do
       avg = update_timestamp_gaps.sum / update_timestamp_gaps.length
 
       expect(update_timestamp_gaps.length).to be >= 3
-      expect((avg - 0.5).abs).to be < 0.02
+      expect((avg - 0.5).abs).to be < 0.15, "Should be within margin of error of rate limit"
     end
   end