Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(GraphQL): Fix flaky behaviour of TestLargeSchemaUpdate #7522

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphql/e2e/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion graphql/e2e/schema/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++ {
Expand Down