test/command/test_fluentd.rb in fluentd-1.0.2 vs test/command/test_fluentd.rb in fluentd-1.1.0
- old
+ new
@@ -492,17 +492,17 @@
FileUtils.rm_rf(@root_path)
FileUtils.mkdir_p(@root_path)
end
test 'success to start the number of workers specified in configuration' do
- conf = <<CONF
+ conf = <<'CONF'
<system>
workers 2
root_dir #{@root_path}
</system>
<source>
@type dummy
- @id dummy
+ @id "dummy#{worker_id}" # check worker_id works or not with actual command
@label @dummydata
tag dummy
dummy {"message": "yay!"}
</source>
<label @dummydata>