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

e2e-test: upgrade to ginkgo v2 #1046

Merged
merged 3 commits into from Jun 1, 2022

Conversation

fatpa
Copy link
Contributor

@fatpa fatpa commented May 26, 2022

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What this PR does / why we need it:

#1041

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@codecov-commenter
Copy link

codecov-commenter commented May 26, 2022

Codecov Report

Merging #1046 (b857ade) into master (5477fb0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1046   +/-   ##
=======================================
  Coverage   30.97%   30.97%           
=======================================
  Files          75       75           
  Lines        8792     8792           
=======================================
  Hits         2723     2723           
  Misses       5775     5775           
  Partials      294      294           

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 5477fb0...b857ade. Read the comment docs.

@tao12345666333
Copy link
Member

re-run all jobs

@@ -8,7 +8,7 @@ require (
github.com/gavv/httpexpect/v2 v2.2.0
github.com/gorilla/websocket v1.4.2
github.com/gruntwork-io/terratest v0.32.8
github.com/onsi/ginkgo v1.16.4
github.com/onsi/ginkgo/v2 v2.1.4
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use replace directive so that we can avoid a lot of changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think replace is the best practice for the gomod.
And if we use replace, it may lead to some confusion in the source code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I use an alias on the import, so it has already avoid as more changes as we can.

Copy link
Member

Choose a reason for hiding this comment

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

I agree with @fatpa
I hope this project can be more clear, and there are not many changes, which have been done in this PR.

Copy link
Member

@tao12345666333 tao12345666333 left a comment

Choose a reason for hiding this comment

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

Please merge master, we have fixed the test case #1055

@@ -542,13 +543,18 @@ github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108
github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY=
Copy link
Member

Choose a reason for hiding this comment

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

we cloud clean older version, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can't.
I try to remove it from the go.sum, but after re-running go mod tidy, it will come back again.

@fatpa
Copy link
Contributor Author

fatpa commented May 31, 2022

Still has some unknown failure checks. Maybe due to the resource lack of the e2e test environment?

Copy link
Member

@tao12345666333 tao12345666333 left a comment

Choose a reason for hiding this comment

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

thanks

LGTM

@tao12345666333 tao12345666333 merged commit 8d76428 into apache:master Jun 1, 2022
@tao12345666333
Copy link
Member

Thanks

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.

None yet

5 participants