speedup tests

This commit is contained in:
aler9
2023-02-13 13:18:22 +01:00
parent 6e9e4d7e88
commit d75c8e4788
2 changed files with 7 additions and 5 deletions

View File

@@ -1649,6 +1649,7 @@ func TestServerPlayTimeout(t *testing.T) {
ReadTimeout: 1 * time.Second,
sessionTimeout: 1 * time.Second,
RTSPAddress: "localhost:8554",
checkStreamPeriod: 500 * time.Millisecond,
}
switch transport {

View File

@@ -1094,6 +1094,7 @@ func TestServerRecordTimeout(t *testing.T) {
},
ReadTimeout: 1 * time.Second,
RTSPAddress: "localhost:8554",
checkStreamPeriod: 500 * time.Millisecond,
}
if transport == "udp" {