Flume
  1. Flume
  2. FLUME-1730

HDFSEventSink testCloseOnIdle appears to be racy

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v1.3.0
    • Fix Version/s: v1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      ests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.319 sec <<< FAILURE!
      testCloseOnIdle(org.apache.flume.sink.hdfs.TestHDFSEventSink)  Time elapsed: 5.149 sec  <<< FAILURE!
      java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:92)
              at org.junit.Assert.assertTrue(Assert.java:43)
              at org.junit.Assert.assertTrue(Assert.java:54)
              at org.apache.flume.sink.hdfs.TestHDFSEventSink.testCloseOnIdle(TestHDFSEventSink.java:1036)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:228)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
      
      

        Activity

        Hide
        Brock Noland added a comment -

        Committed to trunk, 1.3, and 1.4

        Show
        Brock Noland added a comment - Committed to trunk, 1.3, and 1.4
        Hide
        Hudson added a comment -

        Integrated in flume-trunk #332 (See https://builds.apache.org/job/flume-trunk/332/)
        FLUME-1730: HDFSEventSink testCloseOnIdle appears to be racy (Revision da84afe1013cab896fb1fcc11ea6e8e6dba87f3c)

        Result = SUCCESS
        brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=da84afe1013cab896fb1fcc11ea6e8e6dba87f3c
        Files :

        • flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
        Show
        Hudson added a comment - Integrated in flume-trunk #332 (See https://builds.apache.org/job/flume-trunk/332/ ) FLUME-1730 : HDFSEventSink testCloseOnIdle appears to be racy (Revision da84afe1013cab896fb1fcc11ea6e8e6dba87f3c) Result = SUCCESS brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=da84afe1013cab896fb1fcc11ea6e8e6dba87f3c Files : flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java

          People

          • Assignee:
            Brock Noland
            Reporter:
            Brock Noland
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development