From: Kyle Marsh Date: Wed, 19 Oct 2011 21:01:55 +0000 (-0700) Subject: Update docstring for generate_objects X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=44bad4c4ccbef5842e29941bd4e060231417a257;p=s3-tests.git Update docstring for generate_objects --- diff --git a/s3tests/generate_objects.py b/s3tests/generate_objects.py index f7a8322c..0f1ded78 100644 --- a/s3tests/generate_objects.py +++ b/s3tests/generate_objects.py @@ -56,11 +56,13 @@ def upload_objects(bucket, files, seed): def _main(): '''To run the static content load test, make sure you've bootstrapped your test environment and set up your config.yaml file, then run the following: - S3TEST_CONF=config.yaml virtualenv/bin/python generate_objects.py -O urls.txt --seed 1234 + S3TEST_CONF=config.yaml virtualenv/bin/s3tests-generate-objects.py --seed 1234 This creates a bucket with your S3 credentials (from config.yaml) and - fills it with garbage objects as described in generate_objects.conf. - It writes a list of URLS to those objects to ./urls.txt. + fills it with garbage objects as described in the + file_generation.groups section of config.yaml. It writes a list of + URLS to those objects to the file listed in file_generation.url_file + in config.yaml. Once you have objcts in your bucket, run the siege benchmarking program: siege --rc ./siege.conf -r 5