Skip to content

Commit 12aba9f

Browse files
committed
test: Use explicit timezone on timekey due to timezone glitch on CI
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent f9980b7 commit 12aba9f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/plugin/test_out_webhdfs.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,13 @@ def test_compress(data)
117117
"namenode" => "server.local:14000",
118118
"path" => "/hdfs/path/file.%Y%m%d.%H%M.log",
119119
"compress" => compress_type
120-
})
120+
}, [
121+
config_element("buffer", "tag, time", {
122+
"@type" => "memory",
123+
"timekey_zone" => "+0300",
124+
"timekey" => 60
125+
})
126+
])
121127
d = create_driver(conf)
122128
rescue Fluent::ConfigError => ex
123129
omit ex.message

0 commit comments

Comments
 (0)