Change test server port base for SMTP client tests

Updated the TestServerPortBase from 12025 to 30025 to avoid port conflicts with other services running on the common 12025 port. This adjustment aims to ensure that the tests run reliably in diverse environments.
This commit is contained in:
Winni Neessen 2024-11-13 21:25:39 +01:00
parent 6809084e80
commit b9d9449252
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -35,7 +35,7 @@ const (
// TestServerAddr is the address the simple SMTP test server listens on
TestServerAddr = "127.0.0.1"
// TestServerPortBase is the base port for the simple SMTP test server
TestServerPortBase = 12025
TestServerPortBase = 30025
// TestSenderValid is a test sender email address considered valid for sending test emails.
TestSenderValid = "valid-from@domain.tld"
// TestRcptValid is a test recipient email address considered valid for sending test emails.