From e9324868d49593f074c073e96ea4aee380b076db Mon Sep 17 00:00:00 2001 From: renaynay <41963722+renaynay@users.noreply.github.com> Date: Tue, 30 Jun 2020 21:47:40 +0200 Subject: [PATCH] fixed broken http test, waiting whether it passes on all builds --- graphql/graphql_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go index f89ef8f04f886..c8c1d6e6be903 100644 --- a/graphql/graphql_test.go +++ b/graphql/graphql_test.go @@ -105,14 +105,14 @@ func TestGraphQLHTTPOnSamePort_GQLRequest_Unsuccessful(t *testing.T) { t.Fatalf("could not start node: %v", err) } // make sure GQL is not enabled - server := stack.ExistingHTTPServer("127.0.0.1:9797") + server := stack.ExistingHTTPServer("127.0.0.1:9393") if server == nil { t.Fatalf("server was not created on the given endpoint") } assert.False(t, server.GQLAllowed) // create http request body := strings.NewReader("{\"query\": \"{block{number}}\",\"variables\": null}") - gqlReq, err := http.NewRequest(http.MethodPost, fmt.Sprintf("http://%s/graphql", "127.0.0.1:9797"), body) + gqlReq, err := http.NewRequest(http.MethodPost, fmt.Sprintf("http://%s/graphql", "127.0.0.1:9393"), body) if err != nil { t.Error("could not issue new http request ", err) }