nifi/nifi-nar-bundles/nifi-standard-bundle
Koji Kawamura 28ee70222b
NIFI-4069: Make ListXXX work with timestamp precision in seconds or minutes
- Refactored variable names to better represents what those are meant for.
- Added deterministic logic which detects target filesystem timestamp precision and adjust lag time based on it.
- Changed from using System.nanoTime() to System.currentTimeMillis in test because Java File API reports timestamp in milliseconds at the best granularity. Also, System.nanoTime should not be used in mix with epoch milliseconds because it uses arbitrary origin and measured differently.
- Changed TestListFile to use more longer interval between file timestamps those are used by testFilterAge to provide more consistent test result because sleep time can be longer with filesystems whose timestamp in seconds precision.
- Added logging at TestListFile.
- Added TestWatcher to dump state in case assertion fails for further investigation.
- Added Timestamp Precision property so that user can set if auto-detect is not enough
- Adjust timestamps for ages test

This closes #1915.

Signed-off-by: Bryan Bende <bbende@apache.org>
2017-08-28 11:31:03 -04:00
..
nifi-jolt-transform-json-ui NIFI-3997: 2017-06-08 15:22:51 -04:00
nifi-standard-content-viewer NIFI-1835 - added text/xml to content viewer 2017-08-18 12:48:49 -04:00
nifi-standard-nar NIFI-4098 This closes #2013. Adjust ParseCEF to re-use bean validator in order to improve performance 2017-07-18 22:02:39 -04:00
nifi-standard-processors NIFI-4069: Make ListXXX work with timestamp precision in seconds or minutes 2017-08-28 11:31:03 -04:00
nifi-standard-reporting-tasks NIFI-4019: 2017-06-15 14:17:35 -04:00
nifi-standard-utils NIFI-3997: 2017-06-08 15:22:51 -04:00
pom.xml NIFI-3997: 2017-06-08 15:22:51 -04:00