Skip to content

Testrun doesn't cleanup temp directories #664

Open

Description

@spaceone

running PYTHONPATH=build/lib.linux-x86_64-cpython-313/ python3 -m unittest discover -v -s Tests -p 't_*' leaves tempdirs:

python-ldap-test-36301  python-ldap-test-42749  python-ldap-test-45033  python-ldap-test-47579  python-ldap-test-52619  python-ldap-test-57749
python-ldap-test-40287  python-ldap-test-44253  python-ldap-test-46175  python-ldap-test-52195  python-ldap-test-53855

They contain the slapd databases/config:

python-ldap-test-36301/
python-ldap-test-36301/openldap-data
python-ldap-test-36301/openldap-data/lock.mdb
python-ldap-test-36301/openldap-data/data.mdb
python-ldap-test-36301/slapd.d
python-ldap-test-36301/slapd.d/cn=config
python-ldap-test-36301/slapd.d/cn=config/cn=module{0}.ldif
python-ldap-test-36301/slapd.d/cn=config/olcDatabase={0}config.ldif
python-ldap-test-36301/slapd.d/cn=config/olcDatabase={1}mdb.ldif
python-ldap-test-36301/slapd.d/cn=config/cn=schema
python-ldap-test-36301/slapd.d/cn=config/cn=schema/cn={0}core.ldif
python-ldap-test-36301/slapd.d/cn=config/olcDatabase={-1}frontend.ldif
python-ldap-test-36301/slapd.d/cn=config/cn=schema.ldif
python-ldap-test-36301/slapd.d/cn=config.ldif

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions