Beispiel #1
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()

    client = StrictRedis(db=9)
    client.flushdb()

    from celery.task.control import discard_all
    discard_all()
Beispiel #2
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()

    client = StrictRedis(db=9)
    client.flushdb()

    from celery.task.control import discard_all
    discard_all()
Beispiel #3
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()

    from sentry.utils.redis import clusters

    with clusters.get('default').all() as client:
        client.flushdb()

    from celery.task.control import discard_all
    discard_all()
Beispiel #4
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()

    from sentry.utils.redis import clusters

    with clusters.get('default').all() as client:
        client.flushdb()

    from celery.task.control import discard_all
    discard_all()
Beispiel #5
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()
Beispiel #6
0
def pytest_runtest_teardown(item):
    from sentry.app import tsdb
    tsdb.flush()