You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "Poorna Chandra (JIRA)" <ji...@apache.org> on 2017/03/09 02:30:38 UTC

[jira] [Resolved] (TEPHRA-120) Add a smoke test to demostrate client usage and test cluster setup

     [ https://issues.apache.org/jira/browse/TEPHRA-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Poorna Chandra resolved TEPHRA-120.
-----------------------------------
    Resolution: Fixed

> Add a smoke test to demostrate client usage and test cluster setup
> ------------------------------------------------------------------
>
>                 Key: TEPHRA-120
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-120
>             Project: Tephra
>          Issue Type: New Feature
>            Reporter: Gary Helmling
>            Assignee: Gary Helmling
>
> Tephra should ship with a sample application to both illustrate how clients can make use of the APIs, and to test that a given cluster is operating correctly.
> We can provide a simple application the exercises a number of concurrent client threads which will compete to make withdrawals from each other's "account" rows and deposit the same amount to their own accounts.  This should naturally incur transaction conflicts as clients select the same account for withdrawals or deposits.  At the end of the test, it is also easy to verify that transactionality integrity was maintained -- we can simply sum up the total of all account balances.  If the transactional integrity was maintained, the total of all balances should be zero.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)