From 3da0424c0b26221920fde06de841665fd45480b7 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Wed, 18 Dec 2024 10:22:28 -0500 Subject: [PATCH] bug(IGNORE): issue/3227 IGNORE() deletes ignored records on some platforms --- integrationTest/integration_test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index 5bb42e15c7..f382f8049d 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -2351,11 +2351,29 @@ func makeTests() []*TestGroup { a("testdefined", "9.9.9.9"), ignore("testignore", "", ""), ).ExpectNoChanges(), + tc("VERIFY PREVIOUS", + a("testignore", "8.8.8.8"), + a("testdefined", "9.9.9.9"), + ).ExpectNoChanges(), + + tc("Verify nothing changed", + a("testignore", "8.8.8.8"), + a("testdefined", "9.9.9.9"), + ).ExpectNoChanges(), + tc("VERIFY PREVIOUS", + a("testignore", "8.8.8.8"), + a("testdefined", "9.9.9.9"), + ).ExpectNoChanges(), + tc("ignore with change", //a("testignore", "8.8.8.8"), a("testdefined", "2.2.2.2"), ignore("testignore", "", ""), ), + tc("VERIFY PREVIOUS", + a("testignore", "8.8.8.8"), + a("testdefined", "9.9.9.9"), + ).ExpectNoChanges(), ), // OVH features