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

feat: use knuu for PoC e2e test #1914

Merged
merged 19 commits into from
Jul 19, 2023
Merged

feat: use knuu for PoC e2e test #1914

merged 19 commits into from
Jul 19, 2023

Conversation

cmwaters
Copy link
Contributor

@cmwaters cmwaters commented Jun 12, 2023

This PR integrates the knuu e2e testing fixture. It includes a simple 4 validator test

@codecov-commenter
Copy link

codecov-commenter commented Jun 14, 2023

Codecov Report

Merging #1914 (ce43a20) into main (83aff91) will decrease coverage by 0.76%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1914      +/-   ##
==========================================
- Coverage   25.02%   24.26%   -0.76%     
==========================================
  Files         121      125       +4     
  Lines       13806    14238     +432     
==========================================
  Hits         3455     3455              
- Misses       9995    10427     +432     
  Partials      356      356              
Impacted Files Coverage Δ
test/e2e/node.go 0.00% <0.00%> (ø)
test/e2e/setup.go 0.00% <0.00%> (ø)
test/e2e/testnet.go 0.00% <0.00%> (ø)
test/e2e/util.go 0.00% <0.00%> (ø)

@rootulp rootulp added this to the Post-mainnet milestone Jul 12, 2023
@cmwaters cmwaters marked this pull request as ready for review July 13, 2023 16:08
@MSevey MSevey requested a review from a team July 13, 2023 16:25
rootulp
rootulp previously approved these changes Jul 13, 2023
Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

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

Overall LGTM. I didn't test locally yet but don't think that should block this PR b/c this PR is strictly testing related. If any issues are encountered, we can resolve via follow-up PRs

Makefile Show resolved Hide resolved
test/e2e/node.go Outdated Show resolved Hide resolved
test/e2e/node.go Outdated Show resolved Hide resolved
test/e2e/node.go Outdated Show resolved Hide resolved
@rootulp
Copy link
Collaborator

rootulp commented Jul 13, 2023

@cmwaters proto-gen is failing. Perhaps this PR needs a make proto-gen? I can try pushing a commit if that helps

Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

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

This e2e framework is supposed to take the place of the previous e2e framework, right?

Are there any instructions to run? As rootul said, it's a testing framework, we could merge and iterate on it later. But I would prefer to have a version that anyone can run before merging it. So, instructions, even if only the basics, are important before merging this

test/e2e/node.go Show resolved Hide resolved
test/e2e/node.go Outdated Show resolved Hide resolved
)

const (
latestVersion = "v1.0.0-rc9"
Copy link
Member

Choose a reason for hiding this comment

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

So this e2e will not run latest master, but instead the specified release branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, so far it has to retrieve the image from github (i.e. the docker image needs to be published first). It would be nice if we could just build the image for the current branch locally as a means of testing against. Something to follow up with later

Copy link
Member

Choose a reason for hiding this comment

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

Cool. I guess it would make sense to create an issue for this as an improvement

test/e2e/readme.md Outdated Show resolved Hide resolved
test/e2e/readme.md Show resolved Hide resolved
test/e2e/readme.md Show resolved Hide resolved
Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

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

LGTM!! can't wait to play with this more

Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@cmwaters cmwaters merged commit a9e57f0 into main Jul 19, 2023
20 checks passed
@cmwaters cmwaters deleted the cal/e2e-test branch July 19, 2023 12:44
@evan-forbes evan-forbes mentioned this pull request Sep 20, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants