mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-26 21:01:14 +08:00
@@ -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)),
|
||||
|
@@ -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")
|
||||
})
|
||||
|
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user