potiuk commented on code in PR #33531:
URL: https://github.com/apache/airflow/pull/33531#discussion_r1299356817


##########
tests/models/test_connection.py:
##########
@@ -118,6 +118,39 @@ class TestConnection:
                 None,
                 r"Invalid connection string: 
type://user:pass@protocol://host:port?param=value.",
             ),
+            (
+                "postgres://jdbc:postgresql://10.0.0.1",
+                "postgres",
+                "jdbc:postgresql://10.0.0.1",
+                None,
+                None,
+                None,
+                "",
+                {},
+                r"Invalid connection string: 
postgres://jdbc:postgresql://10.0.0.1.",
+            ),
+            (
+                "jdbc:postgresql://user:[email protected]/database",
+                "jdbc",
+                "postgresql://user:[email protected]/database",

Review Comment:
   And ... We have a back-compatibility problem here, I think we can't just 
"drop" those other "URI-like" ways of specifying the connection, I am afraid.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to