Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_out_exec: Try to fix randomly failed test
e.g.) https://cloud.drone.io/fluent/fluentd/1934/1/2 Failure: test: flushed chunk will be committed after child process successfully exits(ExecOutputTest::when executed process dies unexpectedly) /drone/src/test/plugin/test_out_exec.rb:279:in `block (2 levels) in <class:ExecOutputTest>' 276: expect_data = 277: %[2011-01-02 13:14:15\ttest\tv1\n] + 278: %[2011-01-02 13:14:15\ttest\tv2\n] => 279: assert_equal expect_data, data 280: 281: assert{ d.instance.buffer.queue.empty? } 282: assert{ d.instance.dequeued_chunks.empty? } <"2011-01-02 13:14:15\ttest\tv1\n" + "2011-01-02 13:14:15\ttest\tv2\n">(UTF-8) expected but was <"">(ASCII-8BIT) diff: - 2011-01-02 13:14:15 test v1 - 2011-01-02 13:14:15 test v2 ? Encoding: UTF -8 ? ASCII BIT ? ??? +++ Signed-off-by: Takuro Ashie <[email protected]>
- Loading branch information