Updated Branches: refs/heads/trunk 723de26ee -> bc5d2908f
FLUME-1788: Flume Thrift source can fail intermittently because of a race condition in Thrift server implementation on some Linux systems (Venkat Ranganathan via Brock Noland) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/bc5d2908 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/bc5d2908 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/bc5d2908 Branch: refs/heads/trunk Commit: bc5d2908fe64c9f1a7b7d10c34144badb9befe77 Parents: 723de26 Author: Brock Noland <[email protected]> Authored: Tue Dec 18 12:07:12 2012 -0600 Committer: Brock Noland <[email protected]> Committed: Tue Dec 18 12:07:12 2012 -0600 ---------------------------------------------------------------------- .../thriftLegacy/TestThriftLegacySource.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/bc5d2908/flume-ng-legacy-sources/flume-thrift-source/src/test/java/org/apache/flume/source/thriftLegacy/TestThriftLegacySource.java ---------------------------------------------------------------------- diff --git a/flume-ng-legacy-sources/flume-thrift-source/src/test/java/org/apache/flume/source/thriftLegacy/TestThriftLegacySource.java b/flume-ng-legacy-sources/flume-thrift-source/src/test/java/org/apache/flume/source/thriftLegacy/TestThriftLegacySource.java index d8a6872..8e08f22 100644 --- a/flume-ng-legacy-sources/flume-thrift-source/src/test/java/org/apache/flume/source/thriftLegacy/TestThriftLegacySource.java +++ b/flume-ng-legacy-sources/flume-thrift-source/src/test/java/org/apache/flume/source/thriftLegacy/TestThriftLegacySource.java @@ -145,6 +145,7 @@ public class TestThriftLegacySource { @Test public void testLifecycle() throws InterruptedException { bind(); + Thread.sleep(1000); stop(); }
