-
Notifications
You must be signed in to change notification settings - Fork 1k
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
test: Added upgrade tests #5072
Conversation
Please have a look I've split the pervious version test and the upgrade version test into 2 test suites, so I might call them from the OpenshiftCI @tchughesiv @lokeshrangineni @redhatHameed |
8daf89c
to
298306c
Compare
fc73482
to
b23a78a
Compare
feastResourceName + "-online", | ||
feastResourceName + "-offline", | ||
feastResourceName + "-ui", | ||
} |
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.
just want make sure this is correct, we have online store/server
default now. so need registry here instead of online. WDYT ?
cc @tchughesiv
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.
or, just add feastResourceName + "-registry",
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.
just want make sure this is correct, we have
online store/server
default now. so need registry here instead of online. WDYT ? cc @tchughesiv
@redhatHameed @tchughesiv I used the old e2e tests without changing them and in them there is special care of registry, i didn't want to mix updating/fixing e2e tests following latests changes with doing an upgrade test, I think it should be a different task
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.
maybe try to change feastResourceName + "-online"
-> feastResourceName + "-registry"
and see where it breaks ? if this required more works then we can open a separate PR for this.
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.
maybe try to change
feastResourceName + "-online"
->feastResourceName + "-registry"
and see where it breaks ? if this required more works then we can open a separate PR for this.
It causes the tests to fail, I think it should be in a different task
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 think we need a different method maybe? one that checks for remote registry and one that checks for local registry service. when remote registry is configured, a svc won't exist for it
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 think we need a different method maybe? one that checks for remote registry and one that checks for local registry service. when remote registry is configured, a svc won't exist for it
Do you think it should be fixed as part of the upgrade tests ? IMO it should be a separate task - "revise existing e2e test and enhance them"
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.
+1
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.
Opened an new issues to track this #5091
@tmihalac few minor questions
|
@redhatHameed I've added them to the e2e github action which runs on:
|
b23a78a
to
f4557d4
Compare
f4557d4
to
0167ccd
Compare
0167ccd
to
73750fe
Compare
Signed-off-by: Theodor Mihalache <[email protected]>
73750fe
to
26f7b89
Compare
Added feast go operator upgrade tests
What this PR does / why we need it:
Tests backward compatibility of the CR
There are 2 new test suites with new make targets:
test-previous-version
- Deploys the previous version operator and feast server, applies the previous version CRs and runs the e2e testtest-upgrade
- Deploys the previous version operator and feast server, applies the current CRs and runs the e2e testThose tests are run in the integration test github action right after the
make test-e2e
target