falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-377) Unit test fails consistently - EntityManagerJerseyIT.testProcessInputUpdate
Date Wed, 26 Mar 2014 10:28:18 GMT

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

Shwetha G S updated FALCON-377:
-------------------------------

    Attachment: FALCON-377.patch

The test used to pass till evening IST and fail after that:) Turns out I was using wrong Calendar
field. Here is the fix

> Unit test fails consistently - EntityManagerJerseyIT.testProcessInputUpdate
> ---------------------------------------------------------------------------
>
>                 Key: FALCON-377
>                 URL: https://issues.apache.org/jira/browse/FALCON-377
>             Project: Falcon
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 0.5
>            Reporter: Venkatesh Seetharam
>            Assignee: Shwetha G S
>         Attachments: FALCON-377.patch
>
>
> EntityManagerJerseyIT.testProcessInputUpdate:309 expected:<Wed Mar 26 05:00:00 PDT
2014> but was:<Wed Mar 26 17:00:00 PDT 2014>
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.falcon.resource.EntityManagerJerseyIT
> -------------------------------------------------------------------------------
> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 152.35 sec <<<
FAILURE! - in org.apache.falcon.resource.EntityManagerJerseyIT
> testProcessInputUpdate(org.apache.falcon.resource.EntityManagerJerseyIT)  Time elapsed:
14.541 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<Wed Mar 26 05:00:00 PDT 2014> but was:<Wed
Mar 26 17:00:00 PDT 2014>
> 	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:160)
> 	at org.apache.falcon.resource.EntityManagerJerseyIT.testProcessInputUpdate(EntityManagerJerseyIT.java:309)
> {code}



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

Mime
View raw message