Merge pull request #30 from gingermusketeer/fix_race_in_tests
Remove race in patch test
This commit is contained in:
commit
f569ae3f5d
|
@ -187,10 +187,8 @@ func TestPatchOverflow(t *testing.T) {
|
|||
|
||||
body := &noEOFReader{}
|
||||
|
||||
go func() {
|
||||
body.Write([]byte("hellothisismorethan15bytes"))
|
||||
body.Close()
|
||||
}()
|
||||
|
||||
(&httpTest{
|
||||
Name: "Too big body exceeding file size",
|
||||
|
|
Loading…
Reference in New Issue