From 7d87d7e0b264ce53aa5ee006fb022d3516c9d666 Mon Sep 17 00:00:00 2001 From: Martin Chang Date: Sat, 28 Jan 2023 13:19:16 +0800 Subject: [PATCH] Fix file r/w race condition in integration test (#1496) --- lib/tests/integration_test/client/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/integration_test/client/main.cc b/lib/tests/integration_test/client/main.cc index 95a86e87..5ccc60f6 100644 --- a/lib/tests/integration_test/client/main.cc +++ b/lib/tests/integration_test/client/main.cc @@ -690,7 +690,7 @@ void doTest(const HttpClientPtr &client, std::shared_ptr 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});