test/test_out_s3.rb in fluent-plugin-s3-1.0.0.rc1 vs test/test_out_s3.rb in fluent-plugin-s3-1.0.0.rc2

- old
+ new

@@ -249,11 +249,11 @@ %[{"a":2,"tag":"test","time":"2011-01-02T13:14:15Z"}\n] ] assert_equal(expected, d.formatted) end - CONFIG_TIME_SLICE = %[ + CONFIG_TIME_SLICE = <<EOC aws_key_id test_key_id aws_sec_key test_sec_key s3_bucket test_bucket s3_object_key_format %{path}/events/ts=%{time_slice}/events_%{index}-%{hostname}.%{file_extension} time_slice_format %Y%m%d-%H @@ -261,10 +261,10 @@ utc buffer_type memory @log_level debug check_bucket true check_object true - ] +EOC def create_time_sliced_driver(conf = CONFIG_TIME_SLICE) Fluent::Test::Driver::Output.new(Fluent::Plugin::S3Output) do def format(tag, time, record) super