[pmg-devel] [PATCH pmg-api 0/2] remove unused greylist table column and make test_gl more robust

Stoiko Ivanov s.ivanov at proxmox.com
Fri Jun 11 17:54:45 CEST 2021


These two patches are the result from some intial trials to build and test
PMG on debian bullseye

The first drops a deprecated database column, and since I consider changes
to the database schema somewhat sensitive I'd like another set of eyes
to look over the changes

the second patch addresses a timing issue in test_greylist.pl, which
causes the tests to fail, because the policy daemon is not accepting
connections early enough (at least on my test-container with bullseye)
One alternative would be to skip the greylist tests here which would
enables building as non-root user.

Stoiko Ivanov (2):
  greylisting: drop unneeded Host column form cgreylist table
  tests: greylist: retry connecting 3 times

 src/PMG/Cluster.pm         |  3 +--
 src/PMG/DBTools.pm         | 21 +++++++++++++++------
 src/bin/pmgpolicy          |  6 ++----
 src/tests/test_greylist.pl | 14 ++++++++++----
 4 files changed, 28 insertions(+), 16 deletions(-)

-- 
2.20.1





More information about the pmg-devel mailing list