Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
review fix for #56
Browse files Browse the repository at this point in the history
- add grants for guest user
- update comments
  • Loading branch information
nurzhan-saktaganov committed Sep 11, 2024
1 parent 1102d9f commit 72902d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/tnt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ clean:

# prepare vshard-storages, that contains ${NREPLICASETS} replicasets.
# every replicaset has one master and one follower instance.
# every replicaset runs in background mode, no logs are stored (/dev/null)
# every replicaset runs in background mode
cluster-up:
@echo "${GREEN}STAGE: CLUSTER UP${NC}"
mkdir -p tmp
Expand Down
4 changes: 0 additions & 4 deletions tests/tnt/concurrent_topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ func TestConncurrentTopologyChange(t *testing.T) {
return
}

// suppress the below linter warning:
// unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
_ = t

// Don't run this parallel with other tests, because this test is heavy and used to detect data races.
// Therefore this test may impact other ones.
// t.Parallel()
Expand Down
2 changes: 2 additions & 0 deletions tests/tnt/storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ box.once("testapp:schema:1", function()
box.schema.role.grant('public', 'execute', 'function', 'raise_luajit_error')
box.schema.func.create('raise_client_error')
box.schema.role.grant('public', 'execute', 'function', 'raise_client_error')

box.schema.user.grant('guest', 'super')
end)


Expand Down

0 comments on commit 72902d9

Please sign in to comment.