这是indexloc提供的服务,不要输入任何密码
Skip to content

TestV1Alpha1GraphQLErrors.test_v1alpha1_validation_error is flaky over websockets #2710

@lexi-lambda

Description

@lexi-lambda

As showed up in #2685 (and I’ve seen in my own PR, #2672), the TestV1Alpha1GraphQLErrors.test_v1alpha1_validation_error server test in test_v1alpha1_endpoint.py is flaky and frequently (but not always) fails in CI with the following error:

E       AssertionError: diff:
E         code: start-failed
E         error: start received before the connection is initialised
E         path: $
E       expected:
E         code: validation-failed
E         error: 'field "notPresentCol" not found in type: ''author'''
E         path: $.selectionSet.author.selectionSet.notPresentCol
E       response:
E         code: start-failed
E         error: start received before the connection is initialised
E         path: $

I haven’t looked into why that test has suddenly started sporadically failing, but it’s a little strange, since the test itself hasn’t changed in several months.

Metadata

Metadata

Assignees

Labels

c/serverRelated to server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions