1
0
Fork 0

tests: create redis sentinel config with permissive perms

This commit is contained in:
Patrick Evans 2025-05-12 12:30:04 +00:00 committed by GitHub
parent 448785d830
commit 49b598d087
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()