Skip to content
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

bats tests for reading privs.json and converting #3860

Merged
merged 4 commits into from Jul 19, 2022
Merged

bats tests for reading privs.json and converting #3860

merged 4 commits into from Jul 19, 2022

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Jul 19, 2022

tests for: #3859
companion pr: dolthub/go-mysql-server#1124


# Test that privs.json file is not in json format
run cat privs.json
! [[ "$output" =~ "\"User\":\"privs_user\"" ]] || false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you should stop and restart the sql server after this with the same parameters and make sure it loads the newly saved information permissions

@jycor jycor merged commit f999821 into main Jul 19, 2022
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.

None yet

2 participants