commit 3f57a0d: [Test] Remove broken test

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Dec 6 13:42:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-12-06 13:31:56 +0000
URL: https://github.com/rspamd/rspamd/commit/3f57a0d2d90a874eee6cb15242304827cc64844a (HEAD -> master)

[Test] Remove broken test

---
 test/lua/unit/selectors.lua | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua
index 270d06941..5eff52528 100644
--- a/test/lua/unit/selectors.lua
+++ b/test/lua/unit/selectors.lua
@@ -201,9 +201,10 @@ context("Selectors test", function()
       selector = "specific_urls({need_emails = true, limit = 2})",
       expect = {{"test at example.net", "http://subdomain.example.net"}}},
 
-    ["specific_urls + emails limit"] = {
-      selector = "specific_urls({need_emails = true, limit = 1})",
-      expect = {{"test at example.net"}}},
+    -- Broken test as order depends on the hash function internally
+    --["specific_urls + emails limit"] = {
+    --  selector = "specific_urls({need_emails = true, limit = 1})",
+    --  expect = {{"test at example.net"}}},
 
     ["pool_var str, default type"] = {
                 selector = [[pool_var("str_var")]],


More information about the Commits mailing list