-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update webdaav-door path to run in kubernetes
Motivation: Migration tests require us to have a file inside a pool. This change allows us to upload a file into a pool. Modification: Update webdav path for kubernetes. Result: We can upload files. Target: master Require-book: no Require-notes: no Acked-by: Tigran Mkrtchyan
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
### POOL endpoint GET request | ||
GET {{frontend-door}}{{endpoint}}{{pools}} | ||
Content-Type: application/json | ||
### Upload frontend file | ||
PUT {{webdav-door}}/data/pool-a/ReadMeFile | ||
Authorization: Basic {{user_name}} {{passwd}} | ||
Content-Type: application/octet-stream | ||
|
||
< /README.md | ||
|
||
> {% | ||
client.test("Successful response when calling /pool", function() { | ||
client.assert(response.status === 200, "Response was not 200"); | ||
client.test("Successful response when uploading a file", function() { | ||
client.assert(response.status === 201, "Response was not 201"); | ||
}); | ||
%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters