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{}
|
body := &noEOFReader{}
|
||||||
|
|
||||||
go func() {
|
|
||||||
body.Write([]byte("hellothisismorethan15bytes"))
|
body.Write([]byte("hellothisismorethan15bytes"))
|
||||||
body.Close()
|
body.Close()
|
||||||
}()
|
|
||||||
|
|
||||||
(&httpTest{
|
(&httpTest{
|
||||||
Name: "Too big body exceeding file size",
|
Name: "Too big body exceeding file size",
|
||||||
|
|
Loading…
Reference in New Issue