falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pavan kumar kolamuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1097) UT failure for ExpressionHelperTest
Date Mon, 16 Mar 2015 06:05:38 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362789#comment-14362789
] 

pavan kumar kolamuri commented on FALCON-1097:
----------------------------------------------

[~sowmyaramesh]  Tests are running fine . Can you please check once whether you pulled ExpressionHelper
changes correctly.
I tried running test cases with old ExpressionHelper i got 4 failures 
{noformat}
Running org.apache.falcon.expression.ExpressionHelperTest
Tests run: 23, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.319 sec <<< FAILURE!
- in org.apache.falcon.expression.ExpressionHelperTest
testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0.005 sec
 <<< FAILURE!
java.lang.AssertionError: expected:<2015-01-29T00:00Z> but was:<2015-01-28T00:00Z>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:171)
	at org.testng.Assert.assertEquals(Assert.java:181)
	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)

testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0 sec  <<<
FAILURE!
java.lang.AssertionError: expected:<2015-02-01T00:00Z> but was:<2015-01-31T00:00Z>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:171)
	at org.testng.Assert.assertEquals(Assert.java:181)
	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)

testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0.001 sec
 <<< FAILURE!
java.lang.AssertionError: expected:<2015-01-22T00:00Z> but was:<2014-12-28T00:00Z>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:171)
	at org.testng.Assert.assertEquals(Assert.java:181)
	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)

testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0 sec  <<<
FAILURE!
java.lang.AssertionError: expected:<2015-01-25T00:00Z> but was:<2014-12-31T00:00Z>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:171)
	at org.testng.Assert.assertEquals(Assert.java:181)
	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)
{noformat}

Interestingly it is also not equal to what you have updated. Can you please check once and
please let me know if still there is issue with tests. 



> UT failure for ExpressionHelperTest
> -----------------------------------
>
>                 Key: FALCON-1097
>                 URL: https://issues.apache.org/jira/browse/FALCON-1097
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 0.6
>            Reporter: Sowmya Ramesh
>            Assignee: pavan kumar kolamuri
>
> Running org.apache.falcon.expression.ExpressionHelperTest
> Tests run: 23, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.334 sec <<<
FAILURE! - in org.apache.falcon.expression.ExpressionHelperTest
> {code}
> testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0.009
sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2015-01-29T00:00Z> but was:<2015-01-30T00:00Z>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:171)
> 	at org.testng.Assert.assertEquals(Assert.java:181)
> 	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)
> testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0 sec
 <<< FAILURE!
> java.lang.AssertionError: expected:<2015-02-01T00:00Z> but was:<2015-01-26T00:00Z>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:171)
> 	at org.testng.Assert.assertEquals(Assert.java:181)
> 	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)
> testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0 sec
 <<< FAILURE!
> java.lang.AssertionError: expected:<2015-01-22T00:00Z> but was:<2015-01-23T00:00Z>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:171)
> 	at org.testng.Assert.assertEquals(Assert.java:181)
> 	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)
> testStartOffset(org.apache.falcon.expression.ExpressionHelperTest)  Time elapsed: 0 sec
 <<< FAILURE!
> java.lang.AssertionError: expected:<2015-01-25T00:00Z> but was:<2015-01-19T00:00Z>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:171)
> 	at org.testng.Assert.assertEquals(Assert.java:181)
> 	at org.apache.falcon.expression.ExpressionHelperTest.testStartOffset(ExpressionHelperTest.java:46)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message