Skip to content

Commit

Permalink
Add 'sleep 1' for stride seconds surely for timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Jan 23, 2017
1 parent 462e403 commit b2d52fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_rake_functional.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def test_update_midway_through_chaining_to_file_task
rake "-n"
assert_equal(%w{fileA fileB fileC default}, dryrun_tasks)
rake
sleep 1 # for stride seconds surely for timestamp
FileUtils.touch("fileA")
rake "-n"
assert_equal(%w{fileB fileC default}, dryrun_tasks)
Expand Down

0 comments on commit b2d52fd

Please sign in to comment.