Quellcode durchsuchen

tests: change db port

We'll avoid using the default port to avoid conflicts with
pre-existing databases.
Lucian Petrut vor 2 Wochen
Ursprung
Commit
0526b66429
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      coriolis/tests/integration/harness.py

+ 2 - 2
coriolis/tests/integration/harness.py

@@ -228,7 +228,7 @@ class _IntegrationHarness:
         cfg.CONF.set_override(
             'providers', [_TEST_EXPORT_PROVIDER, _TEST_IMPORT_PROVIDER])
         db_url = ('mysql+pymysql://%(user)s:%(password)s'
-                  '@localhost:3306/%(database)s') % {
+                  '@localhost:13306/%(database)s') % {
             "user": self._mysql_username,
             "password": self._mysql_password,
             "database": self._mysql_database,
@@ -278,7 +278,7 @@ class _IntegrationHarness:
                 "-e",
                 f"MYSQL_ROOT_PASSWORD={self._mysql_password}",
                 "-e", f"MYSQL_DATABASE={self._mysql_database}",
-                "-p", "3306:3306",
+                "-p", "13306:3306",
                 "mariadb:10-jammy",
             ])