ap&f e2e: eliminates client-side rate-limiting

This commit is contained in:
yue9944882 2020-11-23 11:18:16 +08:00
parent b2ecd1b3a3
commit ee31c93748

View File

@ -321,6 +321,7 @@ func createFlowSchema(f *framework.Framework, flowSchemaName string, matchingPre
func makeRequest(f *framework.Framework, username string) *http.Response {
config := f.ClientConfig()
config.Impersonate.UserName = username
config.RateLimiter = nil
config.Impersonate.Groups = []string{"system:authenticated"}
roundTripper, err := rest.TransportFor(config)
framework.ExpectNoError(err)