You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vincent Yang (JIRA)" <ji...@apache.org> on 2019/05/30 06:34:00 UTC

[jira] [Updated] (CASSANDRA-6177) remove all sleeps in the dtests

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

Vincent Yang updated CASSANDRA-6177:
------------------------------------
    Labels: Testx  (was: )

> remove all sleeps in the dtests
> -------------------------------
>
>                 Key: CASSANDRA-6177
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6177
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest
>            Reporter: Brandon Williams
>            Priority: Normal
>              Labels: Testx
>
> The dtests use a ton of sleep calls for various things, most of which is guessing if Cassandra has finished doing something or not.  Guessing is problematic and shouldn't be necessary -- a prime example of this is creating a ks or cf.  When done over cql, we sleep and hope it's done propagating, but when done over thrift we actually check for schema agreement.  We should be able to eliminate the sleeps and reliably detect when it's time for the next step programmatically.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org