Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

fix: GraphQLTestSubscription test failing #436

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

BlasiusSecundus
Copy link

Also includes some minor fixes and improvements to
GraphQLTestSubscription behaviour.

Apparently, there were several potential causes of failure on the
pipeline:

  • the web socket connection was not properly closed after certain tests
    (reset was not called after tests)
  • web socked connection timed out (solved by increasing connection
    timeout)
  • value of "acknowledged" could be true after reset (init method now
    waits for the "acknowledged" message to arrive)
  • "responses" may not be empty after reset (solved by making clear call
    synchronized)

Also includes some minor fixes and improvements to
GraphQLTestSubscription behaviour.

Apparently, there were several potential causes of failure on the
pipeline:
- the web socket connection was not properly closed after certain tests
(reset was not called after tests)
- web socked connection timed out (solved by increasing connection
timeout)
- value of "acknowledged" could be true after reset (init method now
waits for the "acknowledged" message to arrive)
- "responses" may not be empty after reset (solved by making clear call
synchronized)
@oliemansm oliemansm merged commit e30b0d3 into graphql-java-kickstart:master Sep 5, 2020
@oliemansm oliemansm added this to the 7.2.0 milestone Sep 5, 2020
@oliemansm
Copy link
Member

Thanks @BlasiusSecundus !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants