[ https://issues.apache.org/jira/browse/JAMES-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789406#comment-16789406 ]
Rene Cordier commented on JAMES-2666: ------------------------------------- Integration tests : https://github.com/linagora/james-project/pull/2227 > 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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org