Skip to content

Commit

Permalink
Test update
Browse files Browse the repository at this point in the history
Using new format for get stats
  • Loading branch information
gpmidi committed Nov 28, 2024
1 parent 18136f2 commit bfc80b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srt/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ func TestServerImpl_GetStatistics(t *testing.T) {
streams := s.GetStatistics()

expected := []*relay.StreamStatistics{
{Name: "s1", URL: "srt://testserver.de:1337?streamid=play/s1", Clients: 2, Created: streams[0].Created},
//{Name: "s1", URL: "srt://testserver.de:1337?streamid=play/s1", Clients: 2, Created: streams[0].Created},
{Name: "s1", URL: "srt://testserver.de:1337?streamid=#!::m=request,r=s1", Clients: 2, Created: streams[0].Created},
}
if err := compareStats(streams, expected); err != nil {
t.Error(err)
Expand Down

0 comments on commit bfc80b5

Please sign in to comment.