mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
Remove dead code.
This commit is contained in:
parent
8a43540eea
commit
7f4fcecaef
1 changed files with 0 additions and 18 deletions
|
@ -4,22 +4,12 @@ import itertools
|
|||
import os
|
||||
import random
|
||||
import string
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
s3 = bunch.Bunch()
|
||||
config = bunch.Bunch()
|
||||
prefix = ''
|
||||
|
||||
# For those scripts that use a context, these are pretty univerally needed.
|
||||
context = bunch.Bunch(
|
||||
bucket=None,
|
||||
|
||||
# Save stdout/stderr in case they get fudged with.
|
||||
real_stdout=sys.stdout,
|
||||
real_stderr=sys.stderr,
|
||||
)
|
||||
|
||||
bucket_counter = itertools.count(1)
|
||||
key_counter = itertools.count(1)
|
||||
|
||||
|
@ -179,11 +169,3 @@ def get_new_bucket(connection=None):
|
|||
|
||||
def teardown():
|
||||
nuke_prefixed_buckets()
|
||||
|
||||
def fill_pools(*args):
|
||||
for pool in args:
|
||||
while not pool.full():
|
||||
pool.spawn()
|
||||
|
||||
def get_next_key(bucket=None):
|
||||
return bucket.new_key("seqkey-{num}".format(num=next(key_counter)))
|
||||
|
|
Loading…
Reference in a new issue