Skip to content

fix: consistent use of new config sections makes tests less flakey#3989

Closed
janl wants to merge 1 commit into3.xfrom
fix/proxyauth-test
Closed

fix: consistent use of new config sections makes tests less flakey#3989
janl wants to merge 1 commit into3.xfrom
fix/proxyauth-test

Conversation

@janl
Copy link
Member

@janl janl commented Apr 9, 2022

What happens is that CouchDB starts without a secret, auto-gens one as per usual and stores it at [chttpd_auth] secret as per relatively recently, previously this was [couch_http_auth] secret.

When that change happened, we added a utility fun reads [chttpd_auth] and only falls back to [couch_http_auth] if no value exists.

So when the test set [couch_http_auth] secret it didn’t get picked up by CouchDB because the util function already found [chttpd_auth] secret.

@big-r81
Copy link
Contributor

big-r81 commented Aug 16, 2022

Closing this, superseeded and fixed by #4129.

@big-r81 big-r81 closed this Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants