make ServerStream return an error if initialized before Server (#719) (#728)

This commit is contained in:
Alessandro Ros
2025-03-23 16:17:34 +01:00
committed by GitHub
parent fa94080e84
commit fcb018151b
9 changed files with 303 additions and 245 deletions

View File

@@ -297,7 +297,8 @@ func TestServerRecordPath(t *testing.T) {
Server: s,
Desc: ctx.Description,
}
stream.Initialize()
err := stream.Initialize()
require.NoError(t, err)
defer stream.Close()
return &base.Response{