mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-29 18:27:43 +08:00
Fix file r/w race condition in integration test (#1496)
This commit is contained in:
parent
36d7435d1d
commit
7d87d7e0b2
@ -690,7 +690,7 @@ void doTest(const HttpClientPtr &client, std::shared_ptr<test::Case> TEST_CTX)
|
||||
resp->getBody().begin()));
|
||||
});
|
||||
// Test file upload
|
||||
UploadFile file1("./drogon.jpg");
|
||||
UploadFile file1("./中文.txt");
|
||||
UploadFile file2("./drogon.jpg", "drogon1.jpg");
|
||||
UploadFile file3("./config.example.json", "config.json", "file3");
|
||||
req = HttpRequest::newFileUploadRequest({file1, file2, file3});
|
||||
|
Loading…
Reference in New Issue
Block a user