Repository navigation
Template test fixes - #15966
Template test fixes#15966
Conversation
|
/lgtm |
|
|
/retest |
3f43989 to
517f7c3
Compare
517f7c3 to
3cb67fb
Compare
|
/lgtm |
|
/lgtm |
82628e9 to
3ddb369
Compare
|
/lgtm |
|
@jim-minter i've optimistically marked this PR as fixing #15912 and #15961 based on your comments and our discussion. feel free to edit if you disagree/plan on further investigation. |
So we don't need a special job anymore? |
3ddb369 to
3f68b9d
Compare
|
Was all green bar hitting the limit on generated bindata -- after rebase. Pushed. Don't mind seeing this go through its tests twice, frankly. |
right, once this goes through we'll be deleting that job. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, jim-minter The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
/retest |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue |
|
@jim-minter @bparees will you be able to make a PR to remove the template test? |
|
@stevekuznetsov yeah, i think so. may need a reminder of all the bits that need to change for SQ though. |
| } | ||
| configPath := exutil.FixturePath("..", "..", "examples", "templateservicebroker", "templateservicebroker-template.yaml") | ||
|
|
||
| err := tsbOC.AsAdmin().Run("new-app").Args(configPath, "-p", "LOGLEVEL=4", "-p", "NAMESPACE="+tsbOC.Namespace()).Execute() |
There was a problem hiding this comment.
I was surprised to find this change rebasing another pull. oc cluster up and the ansible installer will use the predictable behavior of oc process and either oc create or oc apply. Neither will use oc new-app. This seems like the kind of drift that @bparees was concerned about before. Why make this change?
There was a problem hiding this comment.
There were several areas in this routine which I believe were problematic, including the one which I believe which was responsible for the test failures we were seeing last week. In the process of aiming to fix all the areas I identified, I also made the decision to use oc new-app here to reduce lines of code and to match what is done in many other tests owned by devex.
There was a problem hiding this comment.
@deads2k and I discussed this at lunch. I don't know if he's convinced but i'm ok with this. I'm worried about drift in the files being used to deploy the TSB (the ansible installer has an extra file that's not used here so things can get out of sync), i'm not so concerned that we're using two different "template instantiation" mechanisms since if we have critical differences in how templates get instantiated w/ one mechanism vs another, we have bigger problems.
|
@bparees nvm I took care of it |
fixes #15912
fixes #15961