Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tabversion committed Nov 18, 2024
1 parent e871ab7 commit eb371d5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e_test/source_inline/connection/ddl.slt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ statement ok
create connection conn with (type = 'kafka', properties.bootstrap.server = secret sec_broker, properties.security.protocol = 'plaintext');

query TTT
select "name", "type_", "connection_params" from rw_catalog.rw_connections;
select "name", "type_" from rw_catalog.rw_connections;
----
conn CONNECTION_TYPE_KAFKA {"properties.bootstrap.server":"SECRET sec_broker AS TEXT","properties.security.protocol":"plaintext"}
conn CONNECTION_TYPE_KAFKA

# unstable test serialization due to iter on hashmap
# the "connectiond_params" looks like:
# {"properties.bootstrap.server":"SECRET sec_broker AS TEXT","properties.security.protocol":"plaintext"}

statement error Permission denied: PermissionDenied: secret used by 1 other objects.
drop secret sec_broker;
Expand Down

0 comments on commit eb371d5

Please sign in to comment.