From a10353945bea1e47c56a1a11aa5af7ff689bb14d Mon Sep 17 00:00:00 2001 From: pyrco <105293448+pyrco@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:18:42 +0200 Subject: [PATCH] Fix an unstable ordering issue in the linux modules plugin test (DIS-2352) --- tests/test_plugins_os_unix_linux_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugins_os_unix_linux_modules.py b/tests/test_plugins_os_unix_linux_modules.py index 1f20e197d..45688ba29 100644 --- a/tests/test_plugins_os_unix_linux_modules.py +++ b/tests/test_plugins_os_unix_linux_modules.py @@ -19,4 +19,4 @@ def test_modules_plugin(target_unix: Target, fs_unix: VirtualFilesystem) -> None assert results[1].name == "moduleb" assert results[1].size == 2 assert results[1].refcount == 4 - assert results[1].used_by == ["holdera", "holderb"] + assert sorted(results[1].used_by) == ["holdera", "holderb"]