On Tue, 5 May 2026 13:09:14 -0300 Fabiano Rosas <[email protected]> wrote:
> The migration tests have always used localhost migration and therefore > the same URI for both sides of migration. Change the listen_uri and > connect_uri into a single uri variable. > > For migrations using sockets, there's the possibility of detecting the > socket address the destination side is using. For those, keep using > different variables for migrate_qmp and migrate_incoming_qmp. > > Signed-off-by: Fabiano Rosas <[email protected]> > --- > tests/qtest/migration/colo-tests.c | 8 ++++---- > tests/qtest/migration/cpr-tests.c | 6 +++--- > tests/qtest/migration/file-tests.c | 10 ++++----- > tests/qtest/migration/framework.c | 29 ++++++++++----------------- > tests/qtest/migration/framework.h | 14 ++++++------- > tests/qtest/migration/misc-tests.c | 4 ++-- > tests/qtest/migration/precopy-tests.c | 17 ++++++++-------- > tests/qtest/migration/tls-tests.c | 2 +- > 8 files changed, 40 insertions(+), 50 deletions(-) For migration/colo-tests.c: Reviewed-by: Lukas Straub <[email protected]> Tested-by: Lukas Straub <[email protected]>
pgpDAoqe2Mpmp.pgp
Description: OpenPGP digital signature
