diff options
author | Dario Lombardo <lomato@gmail.com> | 2022-03-13 21:30:01 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-03-14 08:34:48 +0000 |
commit | 9012722f9b73c3a1398eaff92dbf43ceac04b2b1 (patch) | |
tree | a4c8569d6e18b1689bdfe03739c8dbb653e1cfb6 /test/suite_clopts.py | |
parent | 23ed064dedd78e6b51c71e916f486af21baeca9b (diff) |
elastic: fix mapping with recent es versions.
Diffstat (limited to 'test/suite_clopts.py')
-rw-r--r-- | test/suite_clopts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite_clopts.py b/test/suite_clopts.py index 2674a99a1e..b0a17b1f49 100644 --- a/test/suite_clopts.py +++ b/test/suite_clopts.py @@ -191,7 +191,7 @@ class case_tshark_dump_glossaries(subprocesstest.SubprocessTestCase): def test_tshark_elastic_mapping(self, cmd_tshark, dirs, base_env): def get_ip_props(obj): - return obj['mappings']['doc']['properties']['layers']['properties']['ip']['properties'] + return obj['mappings']['properties']['layers']['properties']['ip']['properties'] self.maxDiff = None baseline_file = os.path.join(dirs.baseline_dir, 'elastic-mapping-ip-subset.json') with open(baseline_file) as f: |