<commit_before>Shindo.tests("AWS::Compute | volume", ['aws']) do

  @server = AWS[:compute].servers.create(:image_id => GENTOO_AMI)
  @server.wait_for { ready? }

  model_tests(AWS[:compute].volumes, {:availability_zone => @server.availability_zone, :size => 1, :device => '/dev/sdz1'}, true) do
                      
    tests('#server = @server').succeeds do
      @instance.server = @server<commit_msg>[compute|aws] wait for volume before attaching<commit_after>Shindo.tests("AWS::Compute | volume", ['aws']) do

  @server = AWS[:compute].servers.create(:image_id => GENTOO_AMI)
  @server.wait_for { ready? }

  model_tests(AWS[:compute].volumes, {:availability_zone => @server.availability_zone, :size => 1, :device => '/dev/sdz1'}, true) do

    @instance.wait_for { ready? }
                      
    tests('#server = @server').succeeds do
      @instance.server = @server
{'fraction_non_alphanumeric': 0.17272727272727273, 'fraction_numerical': 0.004545454545454545, 'mean_word_length': 3.840659340659341, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5924139', 'n_tokens_mistral': 296, 'n_tokens_neox': 280, 'n_words': 52}