mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MRUNIT-207) Test failure on trunk-hadoop1 branch
Date Mon, 28 Apr 2014 19:30:16 GMT

     [ https://issues.apache.org/jira/browse/MRUNIT-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brock Noland updated MRUNIT-207:
--------------------------------

    Assignee: Jason E Tedor

> Test failure on trunk-hadoop1 branch
> ------------------------------------
>
>                 Key: MRUNIT-207
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-207
>             Project: MRUnit
>          Issue Type: Task
>            Reporter: Brock Noland
>            Assignee: Jason E Tedor
>
> I am seeing the following test failure on the trunk-hadoop1 branch.
> {noformat}
> Test set: org.apache.hadoop.mrunit.TestMultipleInputsMapReduceDriver
> -------------------------------------------------------------------------------
> Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec <<<
FAILURE!
> testWithCounterAndEnumCounterMissing(org.apache.hadoop.mrunit.TestMultipleInputsMapReduceDriver)
 Time elapsed: 0.013 sec  <<< FAILURE!
> java.lang.AssertionError: 
> Expected: (exception with message a string containing "2 Error(s): (Actual counter (\"org.apache.hadoop.mrunit.TestMapDriver$MapperWithCounters$Counters\",\"X\")
was not found in expected counters, Actual counter (\"org.apache.hadoop.mrunit.TestMultipleInputsMapReduceDriver$TokenMapperWithCounters$Counters\",\"Y\")
was not found in expected counters" and an instance of java.lang.AssertionError)
>      got: <java.lang.AssertionError: 2 Error(s): (Actual counter ("org.apache.hadoop.mrunit.TestMultipleInputsMapReduceDriver$TokenMapperWithCounters$Counters","Y")
was not found in expected counters, Actual counter ("org.apache.hadoop.mrunit.TestMapDriver$MapperWithCounters$Counters","X")
was not found in expected counters)>
>   at org.junit.Assert.assertThat(Assert.java:780)
>   at org.junit.Assert.assertThat(Assert.java:738)
>   at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:114)
>   at org.junit.rules.RunRules.evaluate(RunRules.java:18)
>   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.JUnit4TestSet.execute(JUnit4TestSet.java:53)
>   at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
>   at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
>   at com.sun.proxy.$Proxy0.invoke(Unknown Source)
>   at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
>   at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
>   at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message