~hannes-georg-0/cloud-init/add_mkswap_force_flag

Viewing all changes in revision 1220.

  • Committer: Scott Moser
  • Date: 2016-05-25 14:23:14 UTC
  • mfrom: (1219.1.3 trunk.faster-tests)
  • Revision ID: smoser@ubuntu.com-20160525142314-9zuvipvjo1arz53r
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: