Adding section about using UT3 user by hkorsvoll · Pull Request #179 · utPLSQL/utPLSQL-cli · GitHub
Skip to content

Adding section about using UT3 user#179

Closed
hkorsvoll wants to merge 1 commit into
utPLSQL:developfrom
hkorsvoll:develop
Closed

Adding section about using UT3 user#179
hkorsvoll wants to merge 1 commit into
utPLSQL:developfrom
hkorsvoll:develop

Conversation

@hkorsvoll

Copy link
Copy Markdown

UT3 user should not be used when running tests. This should be mentioned in the readme.

UT3 user should not be used when running tests. This should be mentioned in the readme.
@pesse

pesse commented Mar 10, 2020

Copy link
Copy Markdown
Member

@jgebal

jgebal commented Mar 10, 2020

Copy link
Copy Markdown
Member

@hkorsvoll - thank you for the suggested change.
I think we should fix it in the framework or update framework core documentation.

The statement is not entirely true and issues will occur only under very specific circumstances today.
Hopefully, we will be able to fix it in next release.

@jgebal

jgebal commented Mar 10, 2020

Copy link
Copy Markdown
Member

@pesse - PR will not work as the forked repo doesn't have access to our docker images.

@pesse

pesse commented Mar 10, 2020

Copy link
Copy Markdown
Member

Ah, sure - you're right on both.
I would probably still add the recommendation not to run cli as ut3 - or am I missing something?

@jgebal

jgebal commented Mar 10, 2020

Copy link
Copy Markdown
Member

Well.
If you're installing utPLSQL into your local schema and are running tests in that schema - that is unit tests are co-located with framework, then this advice would be inapplicable.

So if all you can do is use single schema (like in liveSQL), then that recommendation is not valid at all.

The only time this recommendation would be valid is when you have tests in other schema than framework owner and you still connect as framework owner to run your tests.

In that case I would recommend connecting as test packages owner or a different user, that has execute any procedure privilege.

By the way, I'm finishing a fix that should address the issue reported.

@pesse

pesse commented Mar 11, 2020

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants