Skip to content

Disable SQLite disk sync for test databases - #8748

Merged
Jens Hedegaard Nielsen (jenshnielsen) merged 2 commits into
microsoft:mainfrom
jenshnielsen:test-sqlite-synchronous-off
Nov 20, 2026
Merged

Jens Hedegaard Nielsen (jenshnielsen) merged 2 commits into
microsoft:mainfrom
jenshnielsen:test-sqlite-synchronous-off

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator

Open every QCoDeS connection in the test suite with PRAGMA synchronous=OFF. Test databases are thrown away, so flushing each commit to disk only costs time, which is particularly expensive on Windows.

@codecov

codecov Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.76%. Comparing base (29fe8a6) to head (a88d3f6).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8748   +/-   ##
=======================================
  Coverage   77.76%   77.76%           
=======================================
  Files         308      308           
  Lines       32855    32855           
=======================================
  Hits        25549    25549           
  Misses       7306     7306           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jenshnielsen
Jens Hedegaard Nielsen (jenshnielsen) force-pushed the test-sqlite-synchronous-off branch 2 times, most recently from ff30b23 to 70b96f1 Compare November 11, 2026 17:50
Open every QCoDeS connection in the test suite with PRAGMA synchronous=OFF. Test databases are thrown away, so flushing each commit to disk only costs time, which is particularly expensive on Windows.
Merged via the queue into microsoft:main with commit bac1526 Nov 20, 2026
19 checks passed
@jenshnielsen
Jens Hedegaard Nielsen (jenshnielsen) deleted the test-sqlite-synchronous-off branch November 20, 2026 10:39
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

Successfully merging this pull request may close these issues.

2 participants