mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
azblob: fix SAS URL with embedded container name
Fixes #944 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -3213,7 +3213,10 @@ func TestEventRuleProviderEvents(t *testing.T) {
|
||||
// update the folder
|
||||
_, _, err = httpdtest.UpdateFolder(folder, http.StatusOK)
|
||||
assert.NoError(t, err)
|
||||
if assert.FileExists(t, outPath) {
|
||||
if assert.Eventually(t, func() bool {
|
||||
_, err := os.Stat(outPath)
|
||||
return err == nil
|
||||
}, 2*time.Second, 100*time.Millisecond) {
|
||||
content, err := os.ReadFile(outPath)
|
||||
assert.NoError(t, err)
|
||||
var folderGet vfs.BaseVirtualFolder
|
||||
|
||||
Reference in New Issue
Block a user