lib/meroku/aws.rb in meroku-2.0.27 vs lib/meroku/aws.rb in meroku-2.0.28
- old
+ new
@@ -31,9 +31,14 @@
def associate_address
Meroku::Shared.ec2_client.associate_address(
allocation_id: allocation_id, instance_id: instance_id
)
+ # TODO: stub this in tests
+ print '*'
+ TCPSocket.new '34.239.241.218', 22
+ # Socket.tcp("www.meroku.com", 22, connect_timeout: 60) {}
+ puts '*'
end
# Private S3 Bucket
# The only security here is not no one knows the bucket name,
# which is a uuid