[jboss-jira] [JBoss JIRA] (JGRP-1001) Use byteman to inject faults for testing

Bela Ban (Commented) (JIRA) jira-events at lists.jboss.org
Fri Jan 6 09:10:09 EST 2012


    [ https://issues.jboss.org/browse/JGRP-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654309#comment-12654309 ] 

Bela Ban commented on JGRP-1001:
--------------------------------

I created a new dir 'byteman' under tests, containing all byteman tests. The first example is RingBufferTest, which disturbs the thread interleaving to produce a bug when adding and removing the same seqno concurrently. The bug description and fix are described separately (probably in the byteman script file for the test)
                
> Use byteman to inject faults for testing
> ----------------------------------------
>
>                 Key: JGRP-1001
>                 URL: https://issues.jboss.org/browse/JGRP-1001
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.1
>
>
> Use ByteMan (jboss.org/byteman) to simulate issues that can happen at runtime: do this in unit tests.
> For example: crash of merge leader after initial round (who frees the locks ?) (same for FLUSH)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list