web admin: try to uniform UI

This commit is contained in:
Nicola Murino
2021-01-23 09:28:45 +01:00
parent 80f5ccd357
commit 2b9ba1d520
5 changed files with 119 additions and 104 deletions

View File

@@ -2944,7 +2944,9 @@ func TestBandwidthAndConnections(t *testing.T) {
}
err = <-c
assert.Error(t, err, "connection closed while uploading: the upload must fail")
assert.Eventually(t, func() bool { return len(common.Connections.GetStats()) == 0 }, 1*time.Second, 50*time.Millisecond)
assert.Eventually(t, func() bool {
return len(common.Connections.GetStats()) == 0
}, 10*time.Second, 200*time.Millisecond)
err = os.Remove(testFilePath)
assert.NoError(t, err)
err = os.Remove(localDownloadPath)