Aiven-Open / aiven-mysql-migrate

MySQL® migration tool
Apache License 2.0
10 stars 5 forks source link

Add a separate SSL pre-check when checking a connection [BF-889] #19

Closed alexole closed 2 years ago

alexole commented 2 years ago

A separate exception can be useful when the client wants to handle a specific case of disabled/misconfigured SSL.

alexole commented 2 years ago

test/sys/test_migration.py::test_migration_replication[src1-dst1] PASSED                                                                                                                                                               [ 25%]
test/sys/test_migration.py::test_migration_fallback[src0-dst0] PASSED                                                                                                                                                                  [ 37%]
test/sys/test_migration.py::test_force_migration_method[src0-dst0-replication-context0] PASSED                                                                                                                                         [ 50%]
test/sys/test_migration.py::test_force_migration_method[src1-dst1-replication-context1] PASSED                                                                                                                                         [ 62%]
test/sys/test_migration.py::test_force_migration_method[src2-dst2-dump-context2] PASSED                                                                                                                                                [ 75%]
test/sys/test_migration.py::test_database_size_check[src0-dst0] PASSED                                                                                                                                                                 [ 87%]
test/sys/test_migration.py::test_database_ssl_disabled[src0-dst0] PASSED                                                                                                                                                               [100%]

============================================================================================================= 8 passed in 33.74s =============================================================================================================```