Этот коммит содержится в:
Claudio Costa
2020-10-07 18:47:36 +02:00
коммит произвёл GitHub
родитель 5f58e3f286
Коммит 7f85991009
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@@ -278,6 +278,7 @@ func TestUploadDataConcurrent(t *testing.T) {
// Verify that only 1 request was able to perform the upload.
require.Equal(t, int32(n-1), nErrs)
nErrs = 0
wg.Add(n)
@@ -300,7 +301,7 @@ func TestUploadDataConcurrent(t *testing.T) {
wg.Wait()
// Verify that only 1 request was able to finish the upload.
require.Equal(t, int32(n*2-2), nErrs)
require.Equal(t, int32(n-1), nErrs)
d, err := th.App.ReadFile(us.Path)
require.Nil(t, err)