-
Notifications
You must be signed in to change notification settings - Fork 67
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: Add E2E Endpoint Checks #864
base: main
Are you sure you want to change the base?
Conversation
@@ -33,6 +33,7 @@ var _ = BeforeSuite(func() { | |||
GinkgoWriter.Printf("Namespace %q for e2e tests\n", namespaceName) | |||
|
|||
kaitoNamespace := os.Getenv("KAITO_NAMESPACE") | |||
Expect(createCurlDebugPod(kaitoNamespace)).To(Succeed(), "Failed to create curl debug pod") |
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.
use namespaceName this one.😀
}, existingPod) | ||
|
||
if err == nil { | ||
By(fmt.Sprintf("Debug pod %s already exists", curlPodName)) |
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.
By(fmt.Sprintf("Debug pod %s already exists", curlPodName)) | |
It(fmt.Sprintf("Debug pod %s already exists", curlPodName)) |
Name: "curl-container", | ||
Image: "curlimages/curl", | ||
Command: []string{ | ||
"sleep", "3600", // Keeps the pod running for long enough |
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.
sleep "infinity"
this e2e usually last more than one hour 😂
…haan/e2e-probe-v1-completion
Reason for Change:
Add checks for checking two endpoints
validateCompletionsEndpoint
andvalidateModelsEndpoint