Ejemplo n.º 1
0
def hsbenchs3(request):

    hsbenchs3 = hsbench.HsBench()

    def teardown():
        hsbenchs3.cleanup()

    request.addfinalizer(teardown)
    return hsbenchs3
def s3bench(request):
    s3bench = hsbench.HsBench()
    s3bench.create_resource_hsbench()
    s3bench.install_hsbench()

    def finalizer():
        s3bench.cleanup()

    request.addfinalizer(finalizer)
    return s3bench
def s3bench(request):
    # Create hs s3 benchmark
    s3bench = hsbench.HsBench()
    s3bench.create_resource_hsbench()
    s3bench.install_hsbench()

    def teardown():
        s3bench.cleanup()

    request.addfinalizer(teardown)
    return s3bench
Ejemplo n.º 4
0
def hsbenchs3(request):

    hsbenchs3 = hsbench.HsBench()
    hsbenchs3.create_test_user()
    hsbenchs3.create_resource_hsbench()
    hsbenchs3.install_hsbench()

    def teardown():
        hsbenchs3.delete_test_user()
        hsbenchs3.cleanup()

    request.addfinalizer(teardown)
    return hsbenchs3