fix CI tests

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2023-05-22 22:40:20 +02:00
parent 72a3827ce7
commit 0a69c1c0e0
9 changed files with 24 additions and 17 deletions

View File

@@ -108,6 +108,7 @@ func (a *Agent) Start(_, dir string, extraArgs ...any) error {
args = append(args,
copt.Combined(a.logFile),
copt.Dir(dir),
copt.EnvVar("CUNICU_EXPERIMENTAL", "1"),
// copt.EnvVar("PION_LOG", "info"),
copt.EnvVar("GRPC_GO_LOG_SEVERITY_LEVEL", "debug"),
copt.EnvVar("GRPC_GO_LOG_VERBOSITY_LEVEL", fmt.Sprintf("%d", 99)),

View File

@@ -155,7 +155,7 @@ var _ = Context("simple: Simple local-area switched topology with variable numbe
})
})
FContext("srflx: Allow only server reflexive candidates", func() {
Context("srflx: Allow only server reflexive candidates", func() {
Context("ipv4: Allow IPv4 network only", func() {
ConnectivityTestsWithExtraArgs("--ice-candidate-type", "srflx", "--ice-network-type", "udp4")
})

View File

@@ -2,6 +2,7 @@ package e2e_test
import (
"flag"
"os"
"strings"
"testing"
"time"
@@ -53,6 +54,11 @@ var _ = BeforeSuite(func() {
var _ = ReportAfterSuite("Write report", func(r Report) {
r.SpecReports = nil
if err := os.MkdirAll("logs", 0o755); err != nil {
panic(err)
}
if err := reporters.GenerateJSONReport(r, "logs/report.json"); err != nil {
panic(err)
}