You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/04/22 13:15:29 UTC

[GitHub] [incubator-opendal] Xuanwo commented on a diff in pull request #2068: refactor: Allow reusing the same operator to speed up tests

Xuanwo commented on code in PR #2068:
URL: https://github.com/apache/incubator-opendal/pull/2068#discussion_r1174413441


##########
core/tests/behavior/list.rs:
##########
@@ -98,13 +95,14 @@ pub async fn test_check(op: Operator) -> Result<()> {
 
 /// List dir should return newly created file.
 pub async fn test_list_dir(op: Operator) -> Result<()> {
-    let path = uuid::Uuid::new_v4().to_string();
+    let parent = uuid::Uuid::new_v4().to_string();
+    let path = format!("{parent}/{}", uuid::Uuid::new_v4().to_string());

Review Comment:
   We can do it in another PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org