Skip to content

Commit

Permalink
fiddle with test timing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexch committed Mar 8, 2014
1 parent ac96869 commit 3bc9ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/listen/adapter/polling_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
it "notifies change on every listener directories path" do
expect(change_pool_async).to receive(:change).with('directory_path', type: 'Dir', recursive: true)
t = Thread.new { adapter.start }
sleep 0.01
sleep 0.25
t.kill
end
end
Expand Down

0 comments on commit 3bc9ca3

Please sign in to comment.