Updated Branches: refs/heads/flume-1.4 7597980c1 -> 60e0d1724
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/60e0d172 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/60e0d172 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/60e0d172 Branch: refs/heads/flume-1.4 Commit: 60e0d1724cca96f0c47f8d76638d9a5475e2aaa8 Parents: 7597980 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:25 2012 -0600 ---------------------------------------------------------------------- .../thriftLegacy/TestThriftLegacySource.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/60e0d172/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(); }
