Remove race in patch test
This commit is contained in:
parent
376b73ae4b
commit
98d8c939c2
|
@ -187,10 +187,8 @@ func TestPatchOverflow(t *testing.T) {
|
|||
|
||||
body := &noEOFReader{}
|
||||
|
||||
go func() {
|
||||
body.Write([]byte("hellothisismorethan15bytes"))
|
||||
body.Close()
|
||||
}()
|
||||
body.Write([]byte("hellothisismorethan15bytes"))
|
||||
body.Close()
|
||||
|
||||
(&httpTest{
|
||||
Name: "Too big body exceeding file size",
|
||||
|
|
Loading…
Reference in New Issue