tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poorna Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TEPHRA-120) Add a smoke test to demostrate client usage and test cluster setup
Date Thu, 09 Mar 2017 02:30:38 GMT

     [ 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

View raw message