You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/06/15 09:56:35 UTC

[jira] Created: (CAMEL-1710) Fixed the test error of FileExclusiveReadRenameStrategyTest

Fixed the test error of FileExclusiveReadRenameStrategyTest
-----------------------------------------------------------

                 Key: CAMEL-1710
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1710
             Project: Apache Camel
          Issue Type: Bug
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.0.0


The test is failed because of recent change in camel repository

org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten =================
java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten(FileExclusiveReadRenameStrategyTest.java:90)

org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop =================
java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop(FileExclusiveReadRenameStrategyTest.java:145)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1710) Fixed the test error of FileExclusiveReadRenameStrategyTest

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52253#action_52253 ] 

Claus Ibsen commented on CAMEL-1710:
------------------------------------

the same mistake is in FileLockExclusiveReadLockStrategy also!

> Fixed the test error of FileExclusiveReadRenameStrategyTest
> -----------------------------------------------------------
>
>                 Key: CAMEL-1710
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1710
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> The test is failed because of recent change in camel repository
> org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten =================
> java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
> 	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
> 	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
> 	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten(FileExclusiveReadRenameStrategyTest.java:90)
> org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop =================
> java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
> 	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
> 	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
> 	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop(FileExclusiveReadRenameStrategyTest.java:145)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1710) Fixed the test error of FileExclusiveReadRenameStrategyTest

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-1710.
---------------------------------

    Resolution: Fixed

trunk
http://svn.apache.org/viewvc?rev=784697&view=rev

> Fixed the test error of FileExclusiveReadRenameStrategyTest
> -----------------------------------------------------------
>
>                 Key: CAMEL-1710
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1710
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> The test is failed because of recent change in camel repository
> org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten =================
> java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
> 	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
> 	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
> 	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWritten(FileExclusiveReadRenameStrategyTest.java:90)
> org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop =================
> java.lang.AssertionError: mock:result Received message count. Expected: <1> but was: <0>
> 	at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:879)
> 	at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:861)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:240)
> 	at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
> 	at org.apache.camel.component.file.FileExclusiveReadRenameStrategyTest.testPollFileWhileSlowFileIsBeingWrittenWithTimeoutAndNoop(FileExclusiveReadRenameStrategyTest.java:145)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.