Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_in_tail: Show more information of test_unwatched_files_should_be_removed #3784

Merged
merged 1 commit into from
Jun 14, 2022

Commits on Jun 14, 2022

  1. test_in_tail: Show more information of test_unwatched_files_should_be…

    …_removed
    
    It's unstable on macOS but hard to debug due to less information:
    
    https://github.com/fluent/fluentd/runs/6872721774?check_suite_focus=true
    ```
    2022-06-14T02:25:40.1951760Z Failure: test_unwatched_files_should_be_removed(TailInputTest::path)
    2022-06-14T02:25:40.1968250Z /Users/runner/work/fluentd/fluentd/test/plugin/test_in_tail.rb:1615:in `test_unwatched_files_should_be_removed'
    2022-06-14T02:25:40.1968820Z      1612:       waiting(20) { sleep 0.1 until Dir.glob("#{@tmp_dir}/*.txt").size == 0 } # Ensure file is deleted on Windows
    2022-06-14T02:25:40.1969220Z      1613:       waiting(5) { sleep 0.1 until d.instance.instance_variable_get(:@Tails).keys.size <= 0 }
    2022-06-14T02:25:40.1969500Z      1614:
    2022-06-14T02:25:40.1969770Z   => 1615:       assert_equal(0, d.instance.instance_variable_get(:@Tails).keys.size)
    2022-06-14T02:25:40.1970010Z      1616:
    2022-06-14T02:25:40.1970200Z      1617:       d.instance_shutdown
    2022-06-14T02:25:40.1970500Z      1618:     end
    2022-06-14T02:25:40.1970720Z <0> expected but was
    2022-06-14T02:25:40.1970910Z <1>
    ```
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    765e36a View commit details
    Browse the repository at this point in the history