chore(ci): test protonvpn Wireguard with port forwarding

This commit is contained in:
Quentin McGaw
2026-05-03 02:20:24 +00:00
parent 4bada8f0cd
commit f8400c1b1c
5 changed files with 39 additions and 20 deletions
+4 -1
View File
@@ -3,6 +3,8 @@ package internal
import (
"context"
"fmt"
"regexp"
"time"
)
func MullvadTest(ctx context.Context, logger Logger) error {
@@ -23,5 +25,6 @@ func MullvadTest(ctx context.Context, logger Logger) error {
"WIREGUARD_PRIVATE_KEY=" + secrets[0],
"WIREGUARD_ADDRESSES=" + secrets[1],
}
return simpleTest(ctx, env, logger)
const timeout = 60 * time.Second
return runContainerTest(ctx, env, []*regexp.Regexp{successRegexp}, timeout, logger)
}