You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg/test/framework.go: protect AddToFrameworkScheme with mutex (#409)
* pkg/test/framework.go: protect AddToFrameworkScheme with mutex
If more than 1 test concurrently ran AddToFrameworkScheme,
there would be concurrent map read/write errors. By using a mutex,
we can ensure that there is not more than 1 function modifying the
scheme at the same time.
* pkg/test/framework.go: make mutex declaration concise
* pkg/test/framework.go: suggestions from fanminshi
0 commit comments