test/sqs/test_right_sqs_gen2.rb
# Wait for the queue to appear in the queues list.
# Amazon needs some time to after the queue creation to place
# it to the accessible queues list. If we dont want to get
# the additional faults then wait a bit...
Wait for the queue to appear in the queues list.
Amazon needs some time to after the queue creation to place
it to the accessible queues list. If we dont want to get
the additional faults then wait a bit
Wait for the queue to appear in the queues list . Amazon needs some time to after the queue creation to place it to the accessible queues list . If we dont want to get the additional faults then wait a bit
def wait_for_queue_url(queue_name)
    queue_url = nil
    do_sleep(180) do
      queue_url = @sqs.queue_url_by_name(queue_name)
    end
    sleep 30
    queue_url
  end
def wait_for_queue_url ( queue_name ) queue_url = nil do_sleep ( 180 ) do queue_url = @sqs . queue_url_by_name ( queue_name ) end sleep 30 queue_url end
Wait for the queue to appear in the queues list.
Wait for the queue to appear in the queues list .
queue_name
<not_specific>