Skip to content

Commit

Permalink
temporary desable filesystem check for MacOS unit-tests (#37687)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3bf2a82)

# Conflicts:
#	metricbeat/module/system/test_system.py
  • Loading branch information
sharbuz authored and mergify[bot] committed Jan 24, 2024
1 parent 5cece73 commit 7c3bf8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metricbeat/module/system/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def test_diskio(self):
self.assertCountEqual(
SYSTEM_DISK_HOST_FIELDS, host_disk.keys())

<<<<<<< HEAD
@ unittest.skipUnless(re.match("(?i)linux", sys.platform), "os")
def test_diskio_linux(self):
"""
Expand Down Expand Up @@ -311,6 +312,9 @@ def test_diskio_linux(self):
SYSTEM_DISK_HOST_FIELDS, host_disk.keys())

@ unittest.skipUnless(re.match("(?i)win|linux|darwin|freebsd|openbsd", sys.platform), "os")
=======
@unittest.skipUnless(re.match("(?i)win|linux|freebsd|openbsd", sys.platform), "os")
>>>>>>> 3bf2a825e9 (temporary desable filesystem check for MacOS unit-tests (#37687))
def test_filesystem(self):
"""
Test system/filesystem output.
Expand Down

0 comments on commit 7c3bf8f

Please sign in to comment.