Pārlūkot izejas kodu

Add sleep -- this was working without before because of debug logging

Christopher Mullins 6 gadi atpakaļ
vecāks
revīzija
5924422f82
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      test/remote/spec/mqtt_spec.rb

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

@@ -182,6 +182,7 @@ RSpec.describe 'MQTT' do
 
       (1..num_updates).each do |i|
         @mqtt_client.patch_state(@id_params, level: i)
+        sleep 0.1
       end
 
       @mqtt_client.wait_for_listeners