Skip to content

Commit

Permalink
Add 5 seconds to file creation time (#1263)
Browse files Browse the repository at this point in the history
* Add 5 seconds to file creation time

* Add 5 seconds to file creation time
  • Loading branch information
lemonowl authored Nov 11, 2024
1 parent a5c0a53 commit 2b2045c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/doc_builder_testing/doc_builder_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def file_empty?(file_path)
# @param file_name [String] path to file
# @return [Nothing]
def wait_file_creation(file_name)
creation_timeout = 5
creation_timeout = 15
(0..creation_timeout).each do |_|
return true if File.exist?(file_name)

Expand Down

0 comments on commit 2b2045c

Please sign in to comment.