Skip to content

Commit

Permalink
add tests for parameters sbd watchdog and msgwait timeouts 5
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed May 14, 2020
1 parent 3dcb23a commit 095c68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/modules/test_crmshmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def test_manage_sbd_workaround(self):
mock_file_replace = MagicMock(return_code=0)

with patch.dict(crmshmod.__salt__, {
'cmd.retcode': mock_cmd_run}:
'cmd.retcode': mock_cmd_run}):
sbd, devs = crmshmod._manage_sbd(True, ['disk1', 'disk2'], '10', '20')

mock_cmd_run.assert_has_calls([
Expand Down

0 comments on commit 095c68c

Please sign in to comment.