-
Notifications
You must be signed in to change notification settings - Fork 650
fix: dashboard http client tests discovered and passing #4173
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
base: master
Are you sure you want to change the base?
Conversation
win5923
left a comment
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.
Hi @alimaazamat, could you also remove utils_suite_test.go?
I think this file is no longer needed.
$ ginkgo run -r -v controllers/ray/utils
pod name is too long: len = 69, we will shorten it by offset = 19-ca41-e903-fc3ae634b18e-lazer090scholar-director-s
pod name is too long: len = 59, we will shorten it by offset = 9Running Suite: Utils Suite - /home/ubuntu/kuberay/ray-operator/controllers/ray/utils
====================================================================================
Random Seed: 1762877664
Will run 0 of 0 specs
Ran 0 of 0 Specs in 0.000 seconds
SUCCESS! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
19a3966 to
79e6cf7
Compare
|
@win5923 Replaced |
79e6cf7 to
6f11770
Compare
|
I'm not understanding why but buildkite build is not passing tests. It worked previously but now not passing with removing utils_suite_test.go but doesn't seem it be related. When I press completely new build now it isn't even passing the generate pipeline step. Any tips for me? Issues happened after I rebased. |
|
Don't worry. This isn’t related to your changes, it was mainly caused by docker api version mismatch. I’ve already created a PR to fix it. |
Signed-off-by: alimaazamat <[email protected]>
6f11770 to
89e7177
Compare
|
@win5923 Thanks so much for answering my question and for the fix! |
Why are these changes needed?
Dashboard HTTP Client tests never run in CI because it was missing setup from a
suite_test.gofile. Go test doesnt search in subdirectories so when tests moved from./utils/to./utils/dashboardclient/package the tests never ran. After addingsuite_test.gothe tests run but with a failure that also gets fixed in this PR.Below is caught failure:
Now it passes by checking for the error correctly.
Related issue number
Closes #4172
Checks