Opened 4 years ago

Closed 4 years ago

#3446 closed undecided (fixed)

add tests configuration that uses persistent SQLite database

Reported by: rutsky Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords:
Cc:

Description

Looks like some tests are inproperly cleanup their state which is not visible when in-memory SQLite is used, but visible when run in this way:

BUILDBOT_TEST_DB_URL=sqlite:////tmp/test_db.sqlite trial buildbot.test

I propose to add meta-Buildbot and Travis tests configurations with persistent SQLite database (e.g. BUILDBOT_TEST_DB_URL=sqlite:////tmp/test_db.sqlite).

Change History (5)

comment:1 Changed 4 years ago by rutsky

Also docs should be updated to include example of file-based SQLite: https://github.com/buildbot/buildbot/blame/master/master/docs/developer/database.rst#L1859

comment:2 Changed 4 years ago by dustin

@rutsky has this landed?

comment:3 Changed 4 years ago by rutsky

Yes.

Let me add note to dev. docs.

comment:5 Changed 4 years ago by dustin

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.