tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Remove `box.info.cluster.uuid` usage from tests #293

Closed sergepetrenko closed 1 year ago

sergepetrenko commented 1 year ago

tarantool-python integration tests fail on one of the Tarantool 3.0 PRs: https://github.com/tarantool/tarantool/pull/8289 https://github.com/tarantool/tarantool/actions/runs/5011819703/jobs/8984719865?pr=8289

The reason seems to be in ./test/suites/crud_server.lua referencing box.info().cluster.uuid. The https://github.com/tarantool/tarantool/pull/8289 PR renames box.info.cluster.uuid to box.info.replicaset.uuid.

So the test should prefer box.info.replicaset.uuid and only fall back to box.info.cluster.uuid if box.info.replicaset.uuid is missing.