diff --git a/graphql/e2e/common/common.go b/graphql/e2e/common/common.go index 93284158ec2..5d8668af9d4 100644 --- a/graphql/e2e/common/common.go +++ b/graphql/e2e/common/common.go @@ -1138,7 +1138,7 @@ func (params *GraphQLParams) createApplicationGQLPost(url string) (*http.Request // RunGQLRequest runs a HTTP GraphQL request and returns the data or any errors. func RunGQLRequest(req *http.Request) ([]byte, error) { - client := &http.Client{Timeout: 50 * time.Second} + client := &http.Client{Timeout: 200 * time.Second} resp, err := client.Do(req) if err != nil { return nil, err diff --git a/graphql/e2e/schema/schema_test.go b/graphql/e2e/schema/schema_test.go index 1277eb434a1..15895a93360 100644 --- a/graphql/e2e/schema/schema_test.go +++ b/graphql/e2e/schema/schema_test.go @@ -553,7 +553,7 @@ func TestUpdateGQLSchemaFields(t *testing.T) { // TestLargeSchemaUpdate makes sure that updating large schemas (4000 fields with indexes) does not // throw any error func TestLargeSchemaUpdate(t *testing.T) { - numFields := 1000 + numFields := 250 schema := "type LargeSchema {" for i := 1; i <= numFields; i++ {