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

use internal client #618

Merged

Conversation

kmrmt
Copy link
Contributor

@kmrmt kmrmt commented Aug 7, 2020

Description:

fix load test using internal client and add option about resolve DNS

Related Issue:

#557

How Has This Been Tested?:

Nothing.

Environment:

  • Go Version: 1.14.4
  • Docker Version: 19.03.8
  • Kubernetes Version: 1.18.2
  • NGT Version: 1.12.0

Types of changes:

  • Bug fix [type/bug]
  • New feature [type/feature]
  • Add tests [type/test]
  • Security related changes [type/security]
  • Add documents [type/documentation]
  • Refactoring [type/refactoring]
  • Update dependencies [type/dependency]
  • Update benchmarks and performances [type/bench]
  • Update CI [type/ci]

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Checklist:

  • I have read the CONTRIBUTING document.
  • I have checked open Pull Requests for the similar feature or fixes?
  • I have added tests and benchmarks to cover my changes.
  • I have ensured all new and existing tests passed.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly.

@pull-assistant
Copy link

pull-assistant bot commented Aug 7, 2020

Score: 0.94

Best reviewed: commit by commit


Optimal code review plan (1 warning)

use internal client

...tools/cli/loadtest/sample.yaml 50% changes removed in use config.GRPCClien...

     fix test

     use config.GRPCClient.ConnectionPool.ResolveDNS

Powered by Pull Assistant. Last update 6ff3b54 ... f31bd51. Read the comment docs.

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Aug 7, 2020

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - add changelog comment
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase master

@codecov
Copy link

codecov bot commented Aug 7, 2020

Codecov Report

Merging #618 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #618   +/-   ##
=======================================
  Coverage   15.35%   15.36%           
=======================================
  Files         412      412           
  Lines       21629    21626    -3     
=======================================
+ Hits         3321     3322    +1     
+ Misses      18060    18056    -4     
  Partials      248      248           
Impacted Files Coverage Δ
pkg/tools/cli/loadtest/service/loader.go 0.00% <0.00%> (ø)
pkg/tools/cli/loadtest/usecase/load.go 0.00% <0.00%> (ø)
internal/worker/worker.go 84.54% <0.00%> (+0.90%) ⬆️

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 720aaa9...f31bd51. Read the comment docs.

@kmrmt kmrmt added the team/set SET team label Aug 19, 2020
@kmrmt kmrmt force-pushed the feature/benchmark/fix_load_test_using_internal_client branch from b429c56 to b0e3b14 Compare August 19, 2020 11:58
@kmrmt kmrmt requested review from a team, kevindiu, vankichi and hlts2 and removed request for a team and vankichi September 1, 2020 06:09
hlts2
hlts2 previously approved these changes Sep 2, 2020
Copy link
Collaborator

@hlts2 hlts2 left a comment

Choose a reason for hiding this comment

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

LGTM

kevindiu
kevindiu previously approved these changes Sep 2, 2020
Copy link
Contributor

@kevindiu kevindiu left a comment

Choose a reason for hiding this comment

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

LGTM

@kmrmt kmrmt requested a review from vankichi September 2, 2020 05:22
vankichi
vankichi previously approved these changes Sep 7, 2020
Copy link
Contributor

@vankichi vankichi left a comment

Choose a reason for hiding this comment

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

LGTM

@vankichi
Copy link
Contributor

vankichi commented Sep 7, 2020

/rebase
/format

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 7, 2020

[REBASE] Rebase triggered by vankichi for branch: feature/benchmark/fix_load_test_using_internal_client

@vdaas-ci vdaas-ci dismissed stale reviews from vankichi, kevindiu, and hlts2 via 635ebf8 September 7, 2020 09:17
@vdaas-ci vdaas-ci force-pushed the feature/benchmark/fix_load_test_using_internal_client branch from 70a6369 to 635ebf8 Compare September 7, 2020 09:17
@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 7, 2020

[FORMAT] Updating license headers and formatting go codes triggered by vankichi.

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 7, 2020

[FORMAT] Failed to format.

@vankichi
Copy link
Contributor

vankichi commented Sep 7, 2020

/format

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 7, 2020

[FORMAT] Updating license headers and formatting go codes triggered by vankichi.

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 7, 2020

[FORMAT] Failed to format.

kevindiu
kevindiu previously approved these changes Sep 8, 2020
Copy link
Contributor

@kevindiu kevindiu left a comment

Choose a reason for hiding this comment

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

LGTM

@vankichi
Copy link
Contributor

vankichi commented Sep 9, 2020

/rebase
/format

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 9, 2020

[REBASE] Rebase triggered by vankichi for branch: feature/benchmark/fix_load_test_using_internal_client

Signed-off-by: Kosuke Morimoto <kou.morimoto@gmail.com>
Signed-off-by: Kosuke Morimoto <kou.morimoto@gmail.com>
@vdaas-ci vdaas-ci force-pushed the feature/benchmark/fix_load_test_using_internal_client branch from 635ebf8 to f31bd51 Compare September 9, 2020 01:28
@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Sep 9, 2020

[FORMAT] Updating license headers and formatting go codes triggered by vankichi.

@vankichi
Copy link
Contributor

vankichi commented Sep 9, 2020

/approve

Copy link
Collaborator

@vdaas-ci vdaas-ci left a comment

Choose a reason for hiding this comment

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

[APPROVED] This PR is approved by vankichi.

@vankichi vankichi merged commit dc3563d into master Sep 9, 2020
@vankichi vankichi deleted the feature/benchmark/fix_load_test_using_internal_client branch September 9, 2020 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants