-
Notifications
You must be signed in to change notification settings - Fork 844
add autest for post redirection #2800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This is the test for #2766 . |
| ) | ||
|
|
||
| tr = Test.AddTestRun() | ||
| tr.Processes.Default.Command = 'touch largefile.txt && truncate largefile.txt -s 50M && curl -i http://127.0.0.1:{0}/redirect1 -F "filename=@./largefile.txt"'.format(ts.Variables.port) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dragon512 Do we need to remove this file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scw00 If I am reading this test right this file is in the sandbox. The test system will clean up any file in the sandbox for you. So you should be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds fine, although, I'd be cautious here, if it's not too cumbersome to clean out such a large file, I think you should do it. Imagine a sandbox getting left somewhere for whatever reason it might be, it could quickly fill up the disks.
b256a25 to
8de5ece
Compare
|
[approve ci autest] |
8de5ece to
aa5ed39
Compare
|
It worked now ! |
No description provided.