Skip to content

Commit

Permalink
replacing method to add elements to array files
Browse files Browse the repository at this point in the history
from "<< " to "push"
  • Loading branch information
carlosrodlop authored Oct 25, 2019
1 parent 21485c6 commit c0567b8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/milestone-5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@
<builders>
<hudson.tasks.Shell>
<command>#!/bin/bash -e

#!/bin/bash -e

echo "Setting up..."
touch /tmp/1
echo "Running build..."
echo "Open files 1500 times..."
ruby -e 'files = []; for i in 0..1500; files << File.open("/tmp/1"); end'

ruby -e 'files = []; for i in 0..1500; files.push(File.open("/tmp/1")); end'
</command>
</hudson.tasks.Shell>
</builders>
Expand Down

0 comments on commit c0567b8

Please sign in to comment.