mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-17 11:55:38 +02:00
Protect htpasswd user list from race condition
This commit is contained in:
@@ -149,7 +149,7 @@ var _ = Describe("HTPasswd Suite", func() {
|
||||
fileNames = append(fileNames, file.Name())
|
||||
|
||||
It("has the correct number of users", func() {
|
||||
Expect(len(htpasswd.users)).To(Equal(hu.expectedLen))
|
||||
Expect(len(htpasswd.GetUsers())).To(Equal(hu.expectedLen))
|
||||
})
|
||||
|
||||
It(hu.testText, func() {
|
||||
|
||||
Reference in New Issue
Block a user