]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: speed up Python RBD random data generation 3786/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 24 Feb 2015 14:25:14 +0000 (09:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 24 Feb 2015 14:25:14 +0000 (09:25 -0500)
commitbd40f23d7db947b83033a85a1385cf29496be517
treed2812fcf644bc1f928f289271d3209b89afd800d
parentc1c38afcf9ef220baa7a127de3ea93c98aff0c73
tests: speed up Python RBD random data generation

The RBD large_write test cases was taking multiple minutes to
run under a Fedora 21 VM.  Replaced the million+ random number
generator calls with a single call to os.urandom. The test
now completes within seconds.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/pybind/test_rbd.py