[jboss-jira] [JBoss JIRA] Commented: (JGRP-837) Add failure simulation capabilities to Simulator
Richard Achmatowicz (JIRA)
jira-events at lists.jboss.org
Tue Oct 21 17:02:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JGRP-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12434769#action_12434769 ]
Richard Achmatowicz commented on JGRP-837:
------------------------------------------
Only had one problem in writing this test case.
The NAKACK header does not provide public methods for inspecting the elements of the header, which seems to be necessary in order to be able to set up drop functions to drop specific messages based on header contents. I had to modify the NakAckHeader class to allow this to happen in order to write the test.
> Add failure simulation capabilities to Simulator
> -------------------------------------------------
>
> Key: JGRP-837
> URL: https://jira.jboss.org/jira/browse/JGRP-837
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Richard Achmatowicz
> Assignee: Richard Achmatowicz
> Priority: Minor
>
> The Simulator can be used to test protocol layers in isolation. Multiple Simulator instances can be configured so that they model a multicast group.
> In its present state, messages are transported from one Simulator instance to another by the send_thread, which moves messages from send_queue to recv_queue in a reliable fashion. Futhermore, all Simulators perform at the same speed. I'd like to use the Simulator to additionally simulate failures, in order to check the robustness of the protocols. In particular, i'd like to model:
> * dropped, reordered, corrupted messages
> * failed processors ('crash' failure)
> * network partitions
> * slow processes
> This JIRA issue will track progress on this and allow for discussion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list