From c20eee2c66ae360cb74f33bd8d1de837d42dc511 Mon Sep 17 00:00:00 2001
From: EmirVildanov <reddog201030@gmail.com>
Date: Fri, 18 Oct 2024 23:30:54 +0300
Subject: [PATCH] fix: mark test_dml_on_global_tbls flaky test with xfail until
 we move on new vshard version (which should fix problem with inconsistent
 reads)

---
 test/int/test_sql.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test/int/test_sql.py b/test/int/test_sql.py
index c399d7dfd4..3b8afb16a8 100644
--- a/test/int/test_sql.py
+++ b/test/int/test_sql.py
@@ -435,6 +435,16 @@ def test_read_from_system_tables(cluster: Cluster):
     assert len(data["rows"]) == instance_count
 
 
+# FIXME: Flaky test.
+#        As one of the possible reasons flakiness is caused by
+#        inconsistent bucket reads (read just after update returns
+#        extra row).
+#        Should be fixed after we move on new vshard methods as a part
+#        of the following issue:
+#        https://git.picodata.io/picodata/picodata/sbroad/-/issues/531.
+#        Picodata issue to resolve:
+#        https://git.picodata.io/picodata/picodata/picodata/-/issues/1013#note_106684
+@pytest.mark.xfail
 def test_dml_on_global_tbls(cluster: Cluster):
     cluster.deploy(instance_count=2)
     i1, i2 = cluster.instances
-- 
GitLab