mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1650] [MERGED] Fixed make_random_string test code being slow on macos #2091
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2091
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1650
Author: @ggtakec
Created: 5/6/2021
Status: ✅ Merged
Merged: 5/8/2021
Merged by: @gaul
Base:
master← Head:fix_test📝 Commits (1)
406c98cFixed make_random_string test code being slow on macos📊 Changes
2 files changed (+7 additions, -10 deletions)
View changed files
📝
test/integration-test-main.sh(+1 -8)📝
test/test-utils.sh(+6 -2)📄 Description
Relevant Issue (if applicable)
#1586
Details
I noticed that the make_random_string function in my test code is very slow on macos.
When I executed
cat / dev / urandom | base64....., it used a lot of CPU and memory, and it took a lot of execution time.This was also the reason why #1586 bypassed the test_update_metadata_external_large_object test.
With this fix, even if you re-add the bypassed test, the test time will be shorter.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.