Skip to content

Commit

Permalink
fix "savetest" for Redis v7
Browse files Browse the repository at this point in the history
Redis v7 no longer accepts string value for 'save' attribute.
Changing to valid values.
  • Loading branch information
simonasr committed Feb 8, 2024
1 parent 4b5fdec commit 15345a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ suites:
- port: 16379
permissions: '0640'
name: 'savetest'
save: "a\nb\nc"
save: "3600 1\n300 100\n60 10000"
logfile: '/var/log/redis/redis-16379.log'

- name: sentinel
Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/serverspec/redisio_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
it { should be_file }
its('mode') { should cmp '0640' }

['save a', 'save b', 'save c'].each do |m|
['save 3600 1', '300 200', '60 30000'].each do |m|
its(:content) { should match(m) }
end
end
Expand Down

0 comments on commit 15345a7

Please sign in to comment.