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: use flow v1 in tests #1752

Merged
merged 8 commits into from
Jan 22, 2021
Merged

test: use flow v1 in tests #1752

merged 8 commits into from
Jan 22, 2021

Conversation

bwanglzu
Copy link
Member

@bwanglzu bwanglzu commented Jan 21, 2021

adapt flow v1 in all unit tests & distributed tests.

@bwanglzu bwanglzu requested a review from a team as a code owner January 21, 2021 21:53
@jina-bot jina-bot added size/M area/testing This issue/PR affects testing labels Jan 21, 2021
@bwanglzu bwanglzu changed the title test: use flow v1 in all unit tests test: use flow v1 in tests Jan 21, 2021
with:
read_only: true
rest_api: true
port_expose: $JINA_GATEWAY_REST_PORT
pods:
encoder:
- name encoder:
Copy link
Member

Choose a reason for hiding this comment

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

are we sure the syntax is not - name: encoder?

Copy link
Member Author

Choose a reason for hiding this comment

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

@JoanFM my bad.. updating

@github-actions
Copy link

github-actions bot commented Jan 21, 2021

Latency summary

Current PR yields:

  • 🐢🐢 index QPS at 1051, delta to last 3 avg.: -22%
  • 🐎🐎🐎🐎 query QPS at 62, delta to last 3 avg.: +123%

Breakdown

Version Index QPS Query QPS
current 1051 62
0.9.19 1208 27
0.9.18 1520 27

Backed by latency-tracking. Further commits will update this comment.

@codecov
Copy link

codecov bot commented Jan 21, 2021

Codecov Report

Merging #1752 (d116f59) into master (6b0efb9) will decrease coverage by 4.28%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1752      +/-   ##
==========================================
- Coverage   85.35%   81.06%   -4.29%     
==========================================
  Files         135      135              
  Lines        6903     6903              
==========================================
- Hits         5892     5596     -296     
- Misses       1011     1307     +296     
Impacted Files Coverage Δ
jina/optimizers/discovery.py 0.00% <0.00%> (-80.27%) ⬇️
jina/drivers/multimodal.py 36.11% <0.00%> (-55.56%) ⬇️
jina/drivers/predict.py 36.20% <0.00%> (-53.45%) ⬇️
jina/drivers/querylang/queryset/dunderkey.py 54.90% <0.00%> (-45.10%) ⬇️
jina/jaml/parsers/default/v1.py 55.00% <0.00%> (-45.00%) ⬇️
jina/drivers/reduce.py 60.97% <0.00%> (-39.03%) ⬇️
jina/drivers/querylang/queryset/lookup.py 37.71% <0.00%> (-35.97%) ⬇️
jina/executors/rankers/__init__.py 62.79% <0.00%> (-30.24%) ⬇️
jina/clients/sugary_io.py 69.09% <0.00%> (-27.28%) ⬇️
jina/drivers/querylang/reverse.py 77.77% <0.00%> (-22.23%) ⬇️
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b0efb9...b2f7a4c. Read the comment docs.

@bwanglzu bwanglzu marked this pull request as draft January 21, 2021 22:50
@bwanglzu
Copy link
Member Author

bwanglzu commented Jan 21, 2021

wired, code coverage dropped 8%.. need more investigation because ci didn't finish, so the coverage is updating dynamatically.

@bwanglzu bwanglzu self-assigned this Jan 21, 2021
Copy link
Member

@JoanFM JoanFM left a comment

Choose a reason for hiding this comment

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

Wait until #1722 is merged

JoanFM
JoanFM previously approved these changes Jan 22, 2021
@bwanglzu bwanglzu marked this pull request as ready for review January 22, 2021 12:28
JoanFM
JoanFM previously approved these changes Jan 22, 2021
Copy link
Member

@nan-wang nan-wang left a comment

Choose a reason for hiding this comment

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

LGTM👍

@nan-wang nan-wang merged commit 60f80b2 into master Jan 22, 2021
@nan-wang nan-wang deleted the feat-flow-v1-test branch January 22, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing This issue/PR affects testing size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants