Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreign key tests are skipped due to Jenkins' sqlite packages #39

Open
EliAndrewC opened this issue Sep 14, 2016 · 0 comments
Open

Foreign key tests are skipped due to Jenkins' sqlite packages #39

EliAndrewC opened this issue Sep 14, 2016 · 0 comments

Comments

@EliAndrewC
Copy link
Contributor

Moved here from the (now private) original Sideboard issue tracker.

We currently have two tests for foreign key support where we make sure that deleting a row (especially over our CRUD API) cascades. This works on my machine but fails on some other machines, and some basic Googling shows that foreign key support is not always compiled into SQLite. Depending on your package your foreign key declarations in your CREATE TABLE statements may just be ignored in SQLite.

We should do two things:

  • confirm whether that's true before doing any work on this ticket, since I didn't spend enough time to be certain of what I was reading
  • detect whether SQLite has foreign key support compiled in, and only skip() if it isn't via the skipif decorator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant