Skip to content

Commit 8b1495c

Browse files
committed
Fix the worker startup command in integration support
The argument now takes in the worker name and not the index
1 parent d80a39d commit 8b1495c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec/integration_support/director_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(options:, command_builder_class:, logger:)
3737

3838
@worker_processes = (0..2).map do |index|
3939
Service.new(
40-
@command_builder.array_for("bundle exec bosh-director-worker -c #{@director_config} -i #{index}"),
40+
@command_builder.array_for("bundle exec bosh-director-worker -c #{@director_config} -n worker_#{index}"),
4141
{ output: "#{@base_log_path}.worker_#{index}.out", env: { 'QUEUE' => 'normal,urgent' } },
4242
@logger,
4343
)

0 commit comments

Comments
 (0)