Skip to content

Commit

Permalink
Longer diagnostics timeout in spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Aug 11, 2018
1 parent e3221b0 commit d27b472
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/language_server/host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
host.open(file, File.read(file), 1)
buffer = host.flush
times = 0
while buffer.empty? and times < 5
# @todo Weak timeout for waiting until the diagnostics thread
# sends a notification
while buffer.empty? and times < 10
sleep 1
times += 1
buffer = host.flush
Expand Down

0 comments on commit d27b472

Please sign in to comment.