-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add E2E tests for read replica feature #2298
Conversation
Deploying with Cloudflare Pages
|
[CHATOPS:HELP] ChatOps commands.
|
[WARNING:INTCFG] Changes in |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2298 +/- ##
==========================================
- Coverage 30.15% 30.14% -0.02%
==========================================
Files 389 389
Lines 40826 40826
==========================================
- Hits 12313 12307 -6
- Misses 27861 27867 +6
Partials 652 652 ☔ View full report in Codecov by Sentry. |
6573794
to
29f2a3c
Compare
29f2a3c
to
bebca21
Compare
bebca21
to
a5d03e1
Compare
a5d03e1
to
6bc8021
Compare
6bc8021
to
3c3aa41
Compare
tests/e2e/crud/crud_test.go
Outdated
@@ -104,14 +106,12 @@ func init() { | |||
flag.Parse() | |||
|
|||
var err error | |||
kubeClient, err = client.New(*kubeConfig) |
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.
In this case, is it necessary that the environment in which the test is run always have information about the connection to the Kubernetes cluster? 🤔
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.
Yes.
TestE2EReadReplica
needs to be dependent on k8s client anyway so I guess I should revert this and check this in TestE2EReadReplica
? That way other e2e tests can run without k8s clinet.
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.
I fixed that way ed4e8b3 since I think it's better anyway.
Let me know if this is not what you intended.
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.
so I guess I should revert this and check this in TestE2EReadReplica?
Thank you for reply 🙏
Yes, I think that would be better!!
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.
I reviewed your changes! It looks good to me! 🙏
Thank you 🙏
I will LGTM if the above conversation has been resolved |
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!
Description:
This PR adds E2E for read replica as
TestE2EReadReplica
.ROX
policy that k3d does not support.Related Issue:
Versions:
Checklist:
Special notes for your reviewer: