mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
Fix functests using sync upload form path instead of async (#2327)
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
This commit is contained in:
parent
ea7440d103
commit
3b50653ec6
@ -518,7 +518,7 @@ func uploadForm(portForwardURL, token string, expectedStatus int) error {
|
||||
}
|
||||
|
||||
func uploadFormAsync(portForwardURL, token string, expectedStatus int) error {
|
||||
return uploadFileNameToPath(formRequestFunc, utils.UploadFile, portForwardURL, syncFormPath, token, expectedStatus)
|
||||
return uploadFileNameToPath(formRequestFunc, utils.UploadFile, portForwardURL, asyncFormPath, token, expectedStatus)
|
||||
}
|
||||
|
||||
func uploadFileNameToPath(requestFunc uploadFileNameRequestCreator, fileName, portForwardURL, path, token string, expectedStatus int) error {
|
||||
|
Loading…
Reference in New Issue
Block a user