Add 2nd section to sanoid.conf for monitoring test

This commit is contained in:
Aaron Whitehouse 2022-03-17 14:23:18 +00:00
parent f93985111f
commit 26777c2c68
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class TestMonitoringOutput(unittest.TestCase):
"""Test what happens if there is no zpool at all"""
return_info = monitor_snapshots_command()
self.assertEqual(return_info.stdout, b"CRIT: sanoid-test-1 has no daily snapshots at all!, CRIT: sanoid-test-1 has no hourly snapshots at all!, CRIT: sanoid-test-1 has no monthly snapshots at all!\n")
self.assertEqual(return_info.stdout, b"CRIT: sanoid-test-1 has no daily snapshots at all!, CRIT: sanoid-test-1 has no hourly snapshots at all!, CRIT: sanoid-test-1 has no monthly snapshots at all!, CRIT: sanoid-test-2 has no daily snapshots at all!, CRIT: sanoid-test-2 has no hourly snapshots at all!, CRIT: sanoid-test-2 has no monthly snapshots at all!\n")
if __name__ == '__main__':