Allow a bit more time for process to get started
This commit is contained in:
parent
cef38eefd0
commit
36a50f4d69
|
@ -66,7 +66,7 @@ describe Vagrant::Util::Subprocess do
|
||||||
it "should return true" do
|
it "should return true" do
|
||||||
sp = described_class.new("sleep", "5")
|
sp = described_class.new("sleep", "5")
|
||||||
thread = Thread.new{ sp.execute }
|
thread = Thread.new{ sp.execute }
|
||||||
sleep(0.1)
|
sleep(0.3)
|
||||||
expect(sp.running?).to be_true
|
expect(sp.running?).to be_true
|
||||||
sp.stop
|
sp.stop
|
||||||
thread.join
|
thread.join
|
||||||
|
|
Loading…
Reference in New Issue