Skip to content

--keepdb is not working #373

@Vido

Description

@Vido

For some reason manage.py jenkins ignores the --keepdb option. It deletes my database...

This is the command i'm running:
portal and solr_front are apps inside my project.

# Run tests with coverage
python manage.py jenkins portal solr_front --keepdb --enable-coverage

When I run the manage.py test, it keeps my database as expected.

# This keeps my DB
python manage.py test portal solr_front --keepdb

This is how my DATABASES is configured

    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.mysql',
            'NAME': 'dev',
            'TEST_NAME': 'dev',
            'USER': 'user',
            'PASSWORD': '***********',
            'HOST': '192.168.0.8',
            'PORT': '',
        }
    }

It's is the versions i'm running

Python 2.7.15
Django==1.8.11
django-jenkins==0.110.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions