summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-25 10:23:14 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-25 10:23:14 -0400
commit6115beae5f7b87f2dd684deec422f1b21d3cd4eb (patch)
treeb7bad0ac8ee7cd63e6ff94afd3f6e3746fcde6ca /cloudinit/distros
parentfdede2004249a8c0ac302531a5b3bc048458be3d (diff)
parentdb54fca319954d72f3fd48eabd27aad8be31e7b3 (diff)
downloadvyos-cloud-init-6115beae5f7b87f2dd684deec422f1b21d3cd4eb.tar.gz
vyos-cloud-init-6115beae5f7b87f2dd684deec422f1b21d3cd4eb.zip
fix logic error in ec2 get_instance_userdata and slow tests
The change to get_instance_userdata is to fix an issue that was causing retry in the test when it was not desired. if user_data returned 404 it means "there was no user-data", so dont bother retrying. However, _skip_retry_on_codes was returning False indicating that readurl should retry. test_merging was creating 2500 random tests, shrink that down to 100. test_seed_runs is still on my system the slowest test, but taking < .5 seconds where it was taking > 3.
Diffstat (limited to 'cloudinit/distros')
0 files changed, 0 insertions, 0 deletions