Skip to content

Commit

Permalink
test: declare that test case use v0.10 explicitly
Browse files Browse the repository at this point in the history
Without this fix, log rotate configuration in <system> support raises
the following exception:

  Failure: test_inline(ConfigTest):
    Exception raised:
    Fluent::ConfigParseError(<expected end tag '</include>' but got end of file at config_test_1.conf line 11,10
     10:   port 2222
     11:  </source>
         ----------^
    >)

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys committed May 11, 2021
1 parent 5748ddc commit 8cd6cc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def test_inline
prepare_config
opts = {
:config_path => "#{TMP_DIR}/config_test_1.conf",
:inline_config => "<source>\n type http\n port 2222\n </source>"
:inline_config => "<source>\n type http\n port 2222\n </source>",
:use_v1_config => false
}
assert_nothing_raised do
Fluent::Supervisor.new(opts)
Expand Down

0 comments on commit 8cd6cc0

Please sign in to comment.