summaryrefslogtreecommitdiffstats
path: root/test/suite_dissection.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite_dissection.py')
-rw-r--r--test/suite_dissection.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/suite_dissection.py b/test/suite_dissection.py
index ee90c93..18eb4a2 100644
--- a/test/suite_dissection.py
+++ b/test/suite_dissection.py
@@ -919,7 +919,9 @@ class TestDissectCommunityId:
self.check_baseline(dirs, stdout, 'communityid-filtered.txt')
class TestDecompressMongo:
- def test_decompress_zstd(self, cmd_tshark, capture_file, test_env):
+ def test_decompress_zstd(self, cmd_tshark, features, capture_file, test_env):
+ if not features.have_zstd:
+ pytest.skip('Requires zstd.')
stdout = subprocess.check_output((cmd_tshark,
'-d', 'tcp.port==27017,mongo',
'-r', capture_file('mongo-zstd.pcapng'),