Skip to content

Commit 0086d2c

Browse files
allenss-amazonAlexFilipImproving
authored andcommitted
Fix flaky test (#530)
* Fix flaky test Signed-off-by: Allen Samuels <[email protected]> * Fix CME too Signed-off-by: Allen Samuels <[email protected]> --------- Signed-off-by: Allen Samuels <[email protected]>
1 parent bd44a8b commit 0086d2c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

integration/test_json_operations.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def do_json_backfill_test(test, client, primary, replica):
3030
index = Index("test", [Vector("v", 3, type="FLAT")], type=KeyDataType.JSON)
3131
index.load_data(client, 100)
3232
replica.readonly()
33-
assert(primary.execute_command("DBSIZE") > 0)
34-
assert(replica.execute_command("DBSIZE") > 0)
3533

3634
index.create(primary)
3735
waiters.wait_for_true(lambda: index_on_node(primary, index.name))
@@ -52,7 +50,6 @@ class TestJsonBackfill(ValkeySearchClusterTestCaseDebugMode):
5250
@pytest.mark.parametrize(
5351
"setup_test", [{"replica_count": 1}], indirect=True
5452
)
55-
# Mark as xfail until JSON fixes are merged.
5653
def test_json_backfill_CME(self):
5754
"""
5855
Validate that JSON backfill works correctly on a replica

0 commit comments

Comments
 (0)