You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2022/02/23 08:23:59 UTC
[cassandra-dtest] branch trunk updated: Fix dtest-novnode.materialized_views_test.TestMaterializedViews.test_drop_with_stopped_build
This is an automated email from the ASF dual-hosted git repository.
bereng pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8396b64 Fix dtest-novnode.materialized_views_test.TestMaterializedViews.test_drop_with_stopped_build
8396b64 is described below
commit 8396b643b5303d4d849030bb81bb986068e1bd92
Author: Bereng <be...@gmail.com>
AuthorDate: Thu Feb 17 12:22:27 2022 +0100
Fix dtest-novnode.materialized_views_test.TestMaterializedViews.test_drop_with_stopped_build
patch by Berenguer Blasi; reviewed by Brandon Williams, Berenguer Blasi for CASSANDRA-16962
---
materialized_views_test.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/materialized_views_test.py b/materialized_views_test.py
index 9a23f1e..b7e8bd6 100644
--- a/materialized_views_test.py
+++ b/materialized_views_test.py
@@ -1249,6 +1249,15 @@ class TestMaterializedViews(Tester):
logger.debug("Verify that the MV has been successfully created")
self._wait_for_view('ks', 't_by_v')
+ # The original byteman delay it's still there and can make this flaky CASSANDRA-16962
+ for i in range(10):
+ try:
+ assert_one(session, "SELECT COUNT(*) FROM t_by_v", [5000])
+ except AssertionError:
+ time.sleep(1)
+ else:
+ break
+
assert_one(session, "SELECT COUNT(*) FROM t_by_v", [5000])
@since('4.0')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org