don't run TestFileUpload subtests in parallel
Turns out that these subtests are the only pair which cannot run in parallel with each other. Undo that change and add a TODO. This should fix the CI failures. While at it, remove an unnecessary testAllocate line.
This commit is contained in:
parent
4c16288502
commit
811d6d54d3
|
@ -964,9 +964,6 @@ func TestFileUpload(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
c := testAllocate(t, "")
|
||||
defer c.Release()
|
||||
|
||||
tests := []struct {
|
||||
a Action
|
||||
}{
|
||||
|
@ -976,7 +973,9 @@ func TestFileUpload(t *testing.T) {
|
|||
|
||||
for i, test := range tests {
|
||||
t.Run(fmt.Sprintf("test %d", i), func(t *testing.T) {
|
||||
t.Parallel()
|
||||
// TODO: refactor the test so the subtests can run in
|
||||
// parallel
|
||||
//t.Parallel()
|
||||
|
||||
c := testAllocate(t, "")
|
||||
defer c.Release()
|
||||
|
|
Loading…
Reference in New Issue
Block a user