Explorar o código

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

Christopher Mullins %!s(int64=6) %!d(string=hai) anos
pai
achega
5924422f82
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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