Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Apr 26, 2024
1 parent 4d97a3c commit 707dc63
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/execution/batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
headers:
test: test
body: null
expected_hits: 2
expected_hits: 3
response:
status: 200
body:
Expand Down
4 changes: 2 additions & 2 deletions tests/execution/call-graphql-datasource.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type Post {
method: POST
url: http://upstream/graphql
body: '{ "query": "query { user(id: 1) { name } }" }'
expected_hits: 1
expected_hits: 2
response:
status: 200
body:
Expand All @@ -66,7 +66,7 @@ type Post {
method: POST
url: http://upstream/graphql
body: '{ "query": "query { user(id: 2) { name } }" }'
expected_hits: 1
expected_hits: 2
response:
status: 200
body:
Expand Down
4 changes: 2 additions & 2 deletions tests/execution/io-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ type Post {
userId: 2
- request:
url: http://jsonplaceholder.typicode.com/users/1
expected_hits: 1
expected_hits: 2
response:
status: 200
body:
name: Leanne Graham
- request:
url: http://jsonplaceholder.typicode.com/users/2
expected_hits: 1
expected_hits: 4
response:
status: 200
body:
Expand Down
1 change: 1 addition & 0 deletions tests/execution/recursive-type-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
method: GET
url: https://jsonplaceholder.typicode.com/friends/1
body: null
expected_hits: 2
response:
status: 200
body:
Expand Down
1 change: 1 addition & 0 deletions tests/execution/recursive-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type Query {
method: GET
url: https://jsonplaceholder.typicode.com/friends/1
body: null
expected_hits: 2
response:
status: 200
body:
Expand Down
2 changes: 1 addition & 1 deletion tests/execution/ref-other-nested.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
method: GET
url: https://jsonplaceholder.typicode.com/users/1
body: null
expected_hits: 1
expected_hits: 2
response:
status: 200
body:
Expand Down

1 comment on commit 707dc63

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 7.51ms 3.37ms 83.20ms 71.29%
Req/Sec 3.37k 106.19 3.67k 81.83%

402188 requests in 30.00s, 2.02GB read

Requests/sec: 13404.26

Transfer/sec: 68.80MB

Please sign in to comment.