Skip to content

Commit

Permalink
Ensure all nodes are up & discovered in upgrade bwc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger authored and matriv committed Jan 25, 2024
1 parent 4cd0259 commit ac20b25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/bwc/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def assert_data_persistence(self,
cluster = self._new_cluster(version, nodes, data_paths=paths, settings=self.CLUSTER_SETTINGS, env=env)
cluster.start()
with connect(cluster.node().http_url, error_trace=True) as conn:
assert_busy(lambda: self.assert_nodes(conn, nodes))
cursor = conn.cursor()
wait_for_active_shards(cursor, 0)
cursor.execute('ALTER TABLE doc.t1 SET ("refresh_interval" = 4000)')
Expand Down

0 comments on commit ac20b25

Please sign in to comment.