tests: create redis sentinel config with permissive perms
This commit is contained in:
parent
448785d830
commit
49b598d087
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ func (s *RedisSentinelSuite) setupSentinelConfiguration(ports []string) {
|
||||||
require.NoError(s.T(), err)
|
require.NoError(s.T(), err)
|
||||||
defer tmpFile.Close()
|
defer tmpFile.Close()
|
||||||
|
|
||||||
|
err = tmpFile.Chmod(0o666)
|
||||||
|
require.NoError(s.T(), err)
|
||||||
|
|
||||||
model := structs.Map(templateValue)
|
model := structs.Map(templateValue)
|
||||||
model["SelfFilename"] = tmpFile.Name()
|
model["SelfFilename"] = tmpFile.Name()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue