From 9ceeacc797359230d9868a3576629804bf19c684 Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Fri, 14 Jun 2019 12:49:57 -0600 Subject: [PATCH] Try to make async ^C spec less flaky Was intermittently failing, sleep for a little longer to increase chances of false negatives. --- spec/async_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/async_spec.rb b/spec/async_spec.rb index c4029a1..814ea70 100644 --- a/spec/async_spec.rb +++ b/spec/async_spec.rb @@ -34,9 +34,9 @@ context 'with asynchronous suggestions enabled' do it 'terminates the prompt and begins a new one' do session.send_keys('e') - sleep 0.1 + sleep 0.5 session.send_keys('C-c') - sleep 0.1 + sleep 0.5 session.send_keys('echo') wait_for { session.content }.to eq("e\necho")