Fix racy test issues (#24971)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
366d1613b7
Коммит
486e836b83
@@ -31,7 +31,7 @@ func WithMaster(ctx context.Context) context.Context {
|
||||
// RequestContextWithMaster adds the context value that master DB should be selected for this request.
|
||||
func RequestContextWithMaster(c request.CTX) request.CTX {
|
||||
ctx := WithMaster(c.Context())
|
||||
c.SetContext(ctx)
|
||||
c = c.WithContext(ctx)
|
||||
return c
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user