fixed absent initiation of refill task
This commit is contained in:
@ -144,7 +144,7 @@ describe DockerContainerPool do
|
||||
after(:each) { described_class.start_refill_task }
|
||||
|
||||
it 'creates an asynchronous task' do
|
||||
expect(Concurrent::TimerTask).to receive(:new).with(execution_interval: interval, run_now: true, timeout_interval: timeout).and_call_original
|
||||
expect(Concurrent::TimerTask).to receive(:new).with(execution_interval: interval, run_now: false, timeout_interval: timeout).and_call_original
|
||||
end
|
||||
|
||||
it 'executes the task' do
|
||||
|
Reference in New Issue
Block a user