We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e1ecd commit 8889a26Copy full SHA for 8889a26
activerecord/test/cases/connection_adapters/schema_cache_test.rb
@@ -342,7 +342,7 @@ def test_gzip_dumps_identical
342
# Dump it. It should get populated before dumping.
343
cache.dump_to(tempfile_a.path)
344
digest_a = Digest::MD5.file(tempfile_a).hexdigest
345
- sleep(1)
+ sleep(1) # ensure timestamp changes
346
tempfile_b = Tempfile.new(["schema_cache-", ".dump.gz"])
347
348
cache.dump_to(tempfile_b.path)
0 commit comments