Skip to content

Commit

Permalink
Merge pull request #124 from stuggi/db_section_test
Browse files Browse the repository at this point in the history
add functional test for db section
  • Loading branch information
openshift-merge-bot[bot] committed Jun 18, 2024
2 parents 79f227e + 4769d18 commit a68f524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functional/barbican_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ var _ = Describe("Barbican controller", func() {
g.Expect(string(conf)).Should(
ContainSubstring(fmt.Sprintf("sql_connection = mysql+pymysql://%s:%s@hostname-for-openstack.%s.svc/%s?read_default_file=/etc/my.cnf",
username, password, namespace, barbican.DatabaseName)))
g.Expect(string(conf)).Should(
ContainSubstring(fmt.Sprintf("connection = mysql+pymysql://%s:%s@hostname-for-openstack.%s.svc/%s?read_default_file=/etc/my.cnf",
username, password, namespace, barbican.DatabaseName)))

}).Should(Succeed())

Expand Down

0 comments on commit a68f524

Please sign in to comment.