motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Added weight strategy balancer elect tests #324

Closed vgarvardt closed 6 years ago

vgarvardt commented 6 years ago

Added some tests to see if Weigh election strategy really works.

codecov[bot] commented 6 years ago

Codecov Report

Merging #324 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   40.67%   40.72%   +0.04%     
==========================================
  Files          72       72              
  Lines        2510     2512       +2     
==========================================
+ Hits         1021     1023       +2     
  Misses       1427     1427              
  Partials       62       62
Impacted Files Coverage Δ
pkg/proxy/balancer.go 96.87% <100%> (+0.2%) :arrow_up:

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 66bda19...ecc19e9. Read the comment docs.