[ https://issues.apache.org/jira/browse/CASSANDRA-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedict updated CASSANDRA-7468: -------------------------------- Attachment: 7468v2.txt Attached a slightly tweaked version that uses Uninterruptibles.sleepUninterruptibly instead of Thread.sleep(), and also asks that the duration units be specified, for the hell of it (supporting s, m and h)... "duration" seemed a bit strange without it :-) For the record, and posterity, the switch is actually duration=, not -duration If you review the changes I'll commit to trunk + 2.1 > Add time-based execution to cassandra-stress > -------------------------------------------- > > Key: CASSANDRA-7468 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7468 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Matt Kennedy > Assignee: Matt Kennedy > Priority: Minor > Fix For: 2.1.1 > > Attachments: 7468v2.txt, trunk-7468-rebase.patch, trunk-7468.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)