Fix upload pack request racy test
fixes: #2217 (closed)
The test and a goroutine in the RPC is reading/writing to a package level variable, causing the data race. To avoid this scenario, we can inject the upload pack request timeout value with a self referential option as an option on the server struct.
Edited by GitLab Release Tools Bot