Skip to content

Commit bc52e36

Browse files
committed
Add back debug logging.
1 parent 4b1f4f4 commit bc52e36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/java_integration/utilities/jar_glob_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,16 @@ def jar_entries(full_entries)
100100

101101
before = Dir.glob("#{jar_path}!/**/*").size
102102

103+
puts File.mtime(jar_path)
104+
103105
# Need to sleep a little bit to make sure that modified time is updated
104106
sleep 2
105107

106108
# This should delete the /glob_target and /glob_target/bar.txt entries
107109
`zip -d #{jar_path} glob_target/bar.txt`
108110

111+
puts File.mtime(jar_path)
112+
109113
# Explicitly touch the file in case mtime and zip don't agree
110114
`touch #{jar_path}`
111115

0 commit comments

Comments
 (0)