-
Notifications
You must be signed in to change notification settings - Fork 327
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
chore(*) add Universal entities in the e2e testing framework #859
Conversation
dbdf538
to
da3cc42
Compare
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
da3cc42
to
840ccd1
Compare
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
var defaultDockerOptions = docker.RunOptions{ | ||
Command: nil, | ||
Detach: true, | ||
//Entrypoint: "", |
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.
Is it also intentional?
} | ||
|
||
func (s *UniversalApp) getIP() string { | ||
cmd := SshCmd(s.sshPort, "getent", "hosts", s.container[:12]) |
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.
Why 12?
} | ||
|
||
func (c *UniversalCluster) Exec(namespace, podName, containerName string, cmd ...string) (string, string, error) { | ||
return "", "", nil |
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.
Could you please panic
if a method is not implemented, otherwise we can unintentionally use some of them. And Exec
probably could be deleted, maybe I shouldn't have introduced it
Summary
Add a Universal mode implementation for the E2E testing framework.
Issues resolved
Fix #773