-
Notifications
You must be signed in to change notification settings - Fork 244
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
Json match throws error due to spec attribute mismatch on windows 3.11 cluster #3499
Comments
/kind test |
It seems it works properly on linux and macOS but the issue is coming with windows platform only, where the |
Couldn't it be just because the fields in JSON struct have a different order? |
When JSON structs need to be matched it should be done using So, Instead of |
I can work on this |
opened a PR, please confirm @prietyc123 that it resolves the error on windows |
No, I have checked the JSON struct thoroughly and nowhere I found "kind": "route" attribute. So clearly its not order issue. Strange part is its only happening on windows and I am running on our PSI 3.11 cluster. Need a deeper debug to find this out why is it behaving so strange.
+1 |
Even I found the same things happening with
But again the desired json still did not match in cmd_url_test and with some more spec. Problem is same with "kind": "route" attribute. |
@girishramnani But its not the problem with json struct different order. But still will check and update it. |
Commented the outcome #3523 (comment) |
On latest master it works fine, so closing the issue. /close |
/kind bug
What versions of software are you using?
Operating System:
Win10
Output of
odo version
:master
How did you run odo exactly?
Ran
make test-cmd-cmp
on windows 3.11 clusterActual behavior
Expected behavior
On windows
odo describe -o json --context <context>
should matchAny logs, error output, etc?
The text was updated successfully, but these errors were encountered: