소스 검색

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

Christopher Mullins 6 년 전
부모
커밋
5924422f82
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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