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

test: error handling example #1734

Merged

Conversation

saihaj
Copy link
Collaborator

@saihaj saihaj commented Sep 16, 2022

closes #1507

@saihaj saihaj self-assigned this Sep 16, 2022
@changeset-bot
Copy link

changeset-bot bot commented Sep 16, 2022

🦋 Changeset detected

Latest commit: 7d8f2ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
graphql-yoga Patch
@graphql-yoga/common Patch
@graphql-yoga/node Patch
@graphql-yoga/render-graphiql Patch
@graphql-yoga/plugin-apollo-inline-trace Patch
@graphql-yoga/plugin-apq Patch
@graphql-yoga/plugin-persisted-operations Patch
@graphql-yoga/plugin-response-cache Patch
apollo-federation-gateway-with-yoga Patch
apollo-subgraph-with-yoga Patch
graphql-lambda Patch
cloudflare-advanced Patch
cloudflare Patch
hackernews Patch
hello-world-benchmark Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Sep 16, 2022

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-yoga/apollo-link 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/common 3.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 2.4.3-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
graphql-yoga 3.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/node 3.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 1.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 3.0.0-alpha-20220916230805-c2a6900e npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Sep 16, 2022

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 159418      ✗ 0    
     data_received..................: 24 MB   792 kB/s
     data_sent......................: 9.2 MB  306 kB/s
     http_req_blocked...............: avg=1.34µs   min=900ns   med=1.2µs   max=1.02ms  p(90)=1.6µs   p(95)=2µs     
     http_req_connecting............: avg=10ns     min=0s      med=0s      max=872.5µs p(90)=0s      p(95)=0s      
   ✓ http_req_duration..............: avg=293.74µs min=194.2µs med=265.2µs max=20.4ms  p(90)=329.5µs p(95)=352.96µs
       { expected_response:true }...: avg=293.74µs min=194.2µs med=265.2µs max=20.4ms  p(90)=329.5µs p(95)=352.96µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 79709
     http_req_receiving.............: avg=20.55µs  min=11.1µs  med=18.7µs  max=10.38ms p(90)=25.6µs  p(95)=28.2µs  
     http_req_sending...............: avg=8.56µs   min=4.2µs   med=6.6µs   max=3.46ms  p(90)=11.5µs  p(95)=12.4µs  
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s      p(90)=0s      p(95)=0s      
     http_req_waiting...............: avg=264.63µs min=175µs   med=237.7µs max=20.27ms p(90)=296.6µs p(95)=317.6µs 
     http_reqs......................: 79709   2656.838812/s
     iteration_duration.............: avg=369.45µs min=252.9µs med=338.9µs max=21.71ms p(90)=415.6µs p(95)=445.4µs 
     iterations.....................: 79709   2656.838812/s
     vus............................: 1       min=1         max=1  
     vus_max........................: 1       min=1         max=1  

@saihaj saihaj marked this pull request as draft September 19, 2022 15:41
@saihaj saihaj marked this pull request as ready for review September 19, 2022 15:47
@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

🚀 Website Preview

The latest changes to the website are available as preview in: https://892e7859.graphql-yoga.pages.dev

@saihaj saihaj merged commit b7aac32 into v3 Sep 19, 2022
@saihaj saihaj deleted the saihaj/1507-integration-tests-for-the-error-handling-example branch September 19, 2022 16:17
ardatan pushed a commit that referenced this pull request Sep 19, 2022
* test: error handling example

* make tests not flaky

* improve

* chore(dependencies): updated changesets for modified dependencies

* prettier

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This was referenced Sep 21, 2022
@saihaj saihaj mentioned this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration Tests for the error-handling example
2 participants