E2E: Add SMTP tester (#88392)

* E2E: Add SMTP tester

* fix loadlocation issue when running tests on alpine

* temporary update

* add log

* update run-suite

* Update run-suite

* Update run-suite

* Update run-suite

* Update yarn.lock

* apply suggestions + cleanup logs

* update yarn.lock & package.json

* fix swagger
This commit is contained in:
Agnès Toulet
2024-06-18 14:32:19 +02:00
committed by GitHub
parent cc1d3d0f8d
commit 44a40f8e0c
7 changed files with 349 additions and 4 deletions

View File

@@ -16,7 +16,6 @@ import (
"path"
"path/filepath"
"regexp"
"runtime"
"strconv"
"strings"
"time"
@@ -1024,9 +1023,9 @@ func (cfg *Cfg) validateStaticRootPath() error {
func (cfg *Cfg) Load(args CommandLineArgs) error {
cfg.setHomePath(args)
// Fix for missing IANA db on Windows
// Fix for missing IANA db on Windows or Alpine
_, zoneInfoSet := os.LookupEnv(zoneInfo)
if runtime.GOOS == "windows" && !zoneInfoSet {
if !zoneInfoSet {
if err := os.Setenv(zoneInfo, filepath.Join(cfg.HomePath, "tools", "zoneinfo.zip")); err != nil {
cfg.Logger.Error("Can't set ZONEINFO environment variable", "err", err)
}