You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "Nikita Pande (Jira)" <ji...@apache.org> on 2023/02/16 06:28:00 UTC
[jira] [Created] (FLUME-3449) TestPollingPropertiesFileConfigurationProvider test case testPolling failed
Nikita Pande created FLUME-3449:
-----------------------------------
Summary: TestPollingPropertiesFileConfigurationProvider test case testPolling failed
Key: FLUME-3449
URL: https://issues.apache.org/jira/browse/FLUME-3449
Project: Flume
Issue Type: Improvement
Components: Test
Affects Versions: 1.11.0
Environment: OS Linux, amd64, family unix
Reporter: Nikita Pande
{*}Environment{*}: OS Linux, amd64, family unix
{*}Flume version{*}: 1.11.0
*Observation:* When all the tests are run at once, have observed following error.
However if only class TestPollingPropertiesFileConfigurationProvider is included for testing, it passes.
*Error Message* while running `mvn test`:
TestPollingPropertiesFileConfigurationProvider.testPolling:90 [] expected:<1> but was:<0>
*Further Debugging in surefire reports:*
{code:java}
(main) [DEBUG - org.apache.flume.node.UriConfigurationProvider.stop(UriConfigurationProvider.java:228)] File watcher has not terminated. Forcing shutdown of executor. (main) [DEBUG - org.apache.flume.node.UriConfigurationProvider.stop(UriConfigurationProvider.java:231)] Waiting for file watcher to terminate (conf-file-poller-0) [INFO - org.apache.flume.sink.DefaultSinkFactory.create(DefaultSinkFactory.java:42)] Creating instance of sink: sink1, type: null (conf-file-poller-0) [DEBUG - org.apache.flume.sink.NullSink.configure(NullSink.java:69)] sink1 batch size set to 100 conf-file-poller-0) [DEBUG - org.apache.flume.sink.NullSink.configure(NullSink.java:74)] sink1 log event N events set to 10000 (conf-file-poller-0) [INFO - org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:123)] Channel channel1 connected to [source1, sink1] (main) [DEBUG - org.apache.flume.node.UriConfigurationProvider.stop(UriConfigurationProvider.java:231)] Waiting for file watcher to terminate {code}
In Success scenario, there were no such messages. So the file watcher should have terminated successfully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org