summaryrefslogtreecommitdiff
path: root/test/storage/offline_database.test.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-06-29 12:44:40 -0700
committerKonstantin Käfer <mail@kkaefer.com>2018-06-29 12:44:40 -0700
commitee5cd165c57fcce8e067c0a7c267ad4307c67433 (patch)
tree087805a7ae903fc3d7b4e99f307402131d999d3d /test/storage/offline_database.test.cpp
parent821b6bdb9ab87ad120e7cdcbd9391e78768dfee2 (diff)
downloadqtlocation-mapboxgl-upstream/filesource.tar.gz
Diffstat (limited to 'test/storage/offline_database.test.cpp')
-rw-r--r--test/storage/offline_database.test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/storage/offline_database.test.cpp b/test/storage/offline_database.test.cpp
index 5ca9d31a30..4aea602952 100644
--- a/test/storage/offline_database.test.cpp
+++ b/test/storage/offline_database.test.cpp
@@ -199,6 +199,7 @@ TEST(OfflineDatabase, TEST_REQUIRES_WRITE(SchemaVersion)) {
{
mapbox::sqlite::Database db = mapbox::sqlite::Database::open(filename, mapbox::sqlite::ReadWriteCreate);
+ db.setBusyTimeout(Milliseconds::max());
db.exec("PRAGMA user_version = 1");
}