Explorar el Código

Remove unnecessary sleep

Christopher Mullins hace 6 años
padre
commit
abf688d629
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      test/remote/spec/mqtt_spec.rb

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

@@ -360,8 +360,6 @@ RSpec.describe 'MQTT' do
           seen_update = (message['state'] == 'ON')
         end
 
-        sleep 1
-
         # Will use hex by default
         @mqtt_client.patch_state(@id_params, status: 'ON')
         @mqtt_client.wait_for_listeners