From 195f952b91dbeec23f39ba2d91c9bf6c96f42423 Mon Sep 17 00:00:00 2001 From: vvakame Date: Thu, 25 Oct 2018 17:33:01 +0900 Subject: [PATCH] fix CI failed AppVeyor handle this test, But Circle CI is not --- codegen/testserver/generated_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/codegen/testserver/generated_test.go b/codegen/testserver/generated_test.go index 44a5ee4fc61..b600167b7e7 100644 --- a/codegen/testserver/generated_test.go +++ b/codegen/testserver/generated_test.go @@ -199,12 +199,12 @@ func TestGeneratedServer(t *testing.T) { called := false resolvers.userFriends = func(ctx context.Context, obj *User) ([]User, error) { assert.Equal(t, []string{ - "request:start:1", - "request:start:2", - "resolver:start:1:[user]", - "resolver:start:2:[user]", - "resolver:start:1:[user friends]", - "resolver:start:2:[user friends]", + "op:start:1", "op:start:2", + "field'a:start:1:user", "field'a:start:2:user", + "field'b:start:1:[user]", "field'b:start:2:[user]", + "field'c:start:1", "field'c:start:2", + "field'a:start:1:friends", "field'a:start:2:friends", + "field'b:start:1:[user friends]", "field'b:start:2:[user friends]", }, ctx.Value("tracer")) called = true return []User{}, nil