-
Notifications
You must be signed in to change notification settings - Fork 55
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 basic tests for cloud shell #90
Conversation
Signed-off-by: flacatus <flacatus@redhat.com>
cc @rhopp |
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 have the following restructure proposal for source code sleshchenko@c8941ab
-
I think we should test command-line-terminal instead of cloud-shell
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus <flacatus@redhat.com>
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.
Great job!
Please consider applying the minor suggested changes sleshchenko@2256850
And we need to be careful when continuing a program when a fatal error occurs.
Signed-off-by: flacatus <flacatus@redhat.com>
test/e2e/pkg/client/client.go
Outdated
kubeClient *kubernetes.Clientset | ||
} | ||
|
||
// NewCodeReady creates C, a workspaces used to expose common testing functions. |
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.
// NewCodeReady creates C, a workspaces used to expose common testing functions. | |
// NewK8sClient creates kubernetes client wrapper with helper functions and direct access to k8s go client |
test/e2e/pkg/client/pod.go
Outdated
} | ||
return false, 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.
} | |
} | |
Signed-off-by: flacatus <flacatus@redhat.com>
Signed-off-by: flacatus flacatus@redhat.com
What does this PR do?
This PR contains necessary files to start to use e2e tests for Che-Workspace-operator in Prow CI. The tests includes:
This tests will be part of PROW CI running in latest stable Openshift and nightly version. More info about PROW: https://ci-operator-configresolver-ui-ci.apps.ci.l2s4.p1.openshiftapps.com/ and
https://docs.google.com/document/d/1SQ_qlkcplqhe8h6ONXdgBr7YUVbs4oRSj4ISl3gpLW4/edit
What issues does this PR fix or reference?
eclipse-che/che#16667
Is it tested? How?