-
Notifications
You must be signed in to change notification settings - Fork 534
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: rewrite e2e test(test-e2e-route-with-method) using ginkgo #1675
feat: rewrite e2e test(test-e2e-route-with-method) using ginkgo #1675
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1675 +/- ##
==========================================
+ Coverage 72.41% 73.96% +1.55%
==========================================
Files 133 86 -47
Lines 5728 2612 -3116
Branches 666 666
==========================================
- Hits 4148 1932 -2216
+ Misses 1337 680 -657
+ Partials 243 0 -243
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Object: ManagerApiExpect(t), | ||
Sleep: base.SleepTime, | ||
}), | ||
table.Entry("delete route", base.HttpTestCase{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the update of these routes is missing, we should add it.
Desc: "delete route", | ||
Object: ManagerApiExpect(t), | ||
Sleep: base.SleepTime, | ||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, we may update the methods
list and verify the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking into it.
Hello guys, Can't we edit the URI of a route after it has been created? We can, right? It seems when we are editing/adding the existing/new URI nginx putting a 404 error, not the apisix. it is how apisix put error for forbidden methods or non-existing URI But here (after editing) Am I missing something here? |
I have just tested in my local area, and there is no 404 error, so I think you can create a new issue and write out the created data and process. Let's discuss this problem |
Okay, @Jaycean, I'm opening an issue. |
@bisakhmondal Please fix the go lint errors :). |
hi @tokers it's due to exceeding timeout, lol. Going to make a blank commit to retrigger the CIs |
I see, I'm triggering the CI actions. |
E2E test is failed. |
I see this problem. Let me find out the reason. |
"upstream": { | ||
"type": "roundrobin", | ||
"nodes": [{ | ||
"host": "172.16.238.20", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nodes host please use the base.UpstreamIp
"nodes": {
"` + base.UpstreamIp + `:1980": 1
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch 👍. Update pushed.
@bisakhmondal File path:In the docker container: johz/upstream
|
Wonderful @Jaycean❤️. Thank you for the elaborated information. |
Yes, after all, this upstream is just for testing |
No issues. Totally agree with you :) |
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
Related issues
#1500