You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2019/03/12 03:29:00 UTC

[jira] [Comment Edited] (JAMES-2666) Integration tests for EventDeadLetter

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

Tellier Benoit edited comment on JAMES-2666 at 3/12/19 3:28 AM:
----------------------------------------------------------------

https://github.com/linagora/james-project/pull/2231 added unit test for Group deserialization and fixed it. It is merged.


was (Author: btellier):
ithub.com/linagora/james-project/pull/2231 added unit test for Group deserialization and fixed it. It is merged.

> Integration tests for EventDeadLetter
> -------------------------------------
>
>                 Key: JAMES-2666
>                 URL: https://issues.apache.org/jira/browse/JAMES-2666
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> In webAdmin integration test, write a DeadLetterTest
> You will:
> - Create a stateful listener that fails 'n' times on a given eventId, then succeeds and allow retrieving the list of successfully processed eventIds.
> - Load this listener into a James server
> {code:java}
> When an event is initially processed
> Then the processing of this event is failing
> And I can retrieve this event in the EventDeadLetter using webAdmin{code}
>  
> {code:java}
> Given an event is initially processed
> And the processing of this event is failing
> When I do reprocess this event stored in EventDeadLetter
> Then The new processing succeed (n = num-retry){code}
>  
> {code:java}
> Given an event is initially processed
> And the processing of this event is failing
> When I do reprocess this event stored in EventDeadLetter
> Then The still fails (n > 2 * num-retry)
> And the event is still in deadLetter{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org