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

Improve testing process for e2e/integration tests #1757

Merged
merged 4 commits into from
Oct 29, 2020

Conversation

ondrej-fabry
Copy link
Member

@ondrej-fabry ondrej-fabry commented Oct 28, 2020

  • fixes linked glibc library for Ubuntu 20.04 (switch to static compilation)
  • exports funcs and methods in e2e package (library users can write e2e tests)
  • build testing docker images for running tests (easier repeatability)
  • kvscheduler graph generation now renders images by running dot program (if cgo disabled)
  • gotestsum is now used for running tests (provides better output and summary)

- fixes linked glibc library for Ubuntu 20.04 (switch to static compilation)
- exports funcs and methods in e2e package (library users can write e2e tests)
- build testing docker images for running tests (easier repeatability)
- kvscheduler graph generation now renders images by running dot program (if cgo disabled)
- gotestsum is now used for running tests (provides better output and summary)

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1757      +/-   ##
==========================================
+ Coverage   55.66%   55.70%   +0.04%     
==========================================
  Files         387      386       -1     
  Lines       28306    28284      -22     
==========================================
  Hits        15757    15757              
+ Misses      11031    11009      -22     
  Partials     1518     1518              
Flag Coverage Δ
#unittests 55.70% <0.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
tests/e2e/main_test.go Outdated Show resolved Hide resolved
milanlenco
milanlenco previously approved these changes Oct 29, 2020
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
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.

Unable to run integration tests on ubuntu 20.04 due glibc dependency
3 participants