From b49311217f6b1419c3b4e5997bd848c8485041da Mon Sep 17 00:00:00 2001 From: Crispen Gari Date: Sun, 11 Feb 2024 09:45:21 +0200 Subject: [PATCH] update-tests --- dataloom/tests/mysql/test_update_mysql.py | 4 ++-- dataloom/tests/postgres/test_update_pg.py | 4 ++-- dataloom/tests/sqlite3/test_update_sqlite.py | 4 ++-- hi.db | Bin 28672 -> 28672 bytes 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dataloom/tests/mysql/test_update_mysql.py b/dataloom/tests/mysql/test_update_mysql.py index 6fcdefa..966c9b0 100644 --- a/dataloom/tests/mysql/test_update_mysql.py +++ b/dataloom/tests/mysql/test_update_mysql.py @@ -58,7 +58,7 @@ class Post(Model): ] _ = mysql_loom.insert_bulk(Post, [post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = mysql_loom.update_by_pk( User, userId, ColumnValue(name="username", value="Gari") ) @@ -134,7 +134,7 @@ class Post(Model): ] _ = mysql_loom.insert_bulk(Post, [post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = mysql_loom.update_one( User, filters=Filter(column="username", value="@miller"), diff --git a/dataloom/tests/postgres/test_update_pg.py b/dataloom/tests/postgres/test_update_pg.py index 3be2eec..2176103 100644 --- a/dataloom/tests/postgres/test_update_pg.py +++ b/dataloom/tests/postgres/test_update_pg.py @@ -57,7 +57,7 @@ class Post(Model): ColumnValue(name="userId", value=userId), ] _ = pg_loom.insert_bulk(Post, [post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = pg_loom.update_by_pk( User, userId, ColumnValue(name="username", value="Gari") ) @@ -132,7 +132,7 @@ class Post(Model): ColumnValue(name="userId", value=userId), ] _ = pg_loom.insert_bulk(Post, [post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = pg_loom.update_one( User, filters=Filter(column="username", value="@miller"), diff --git a/dataloom/tests/sqlite3/test_update_sqlite.py b/dataloom/tests/sqlite3/test_update_sqlite.py index 2122d3f..b865b9e 100644 --- a/dataloom/tests/sqlite3/test_update_sqlite.py +++ b/dataloom/tests/sqlite3/test_update_sqlite.py @@ -51,7 +51,7 @@ class Post(Model): ColumnValue(name="userId", value=userId), ] _ = sqlite_loom.insert_bulk(Post, values=[post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = sqlite_loom.update_by_pk( User, userId, ColumnValue(name="username", value="Gari") ) @@ -121,7 +121,7 @@ class Post(Model): ColumnValue(name="userId", value=userId), ] _ = sqlite_loom.insert_bulk(Post, values=[post for i in range(5)]) - time.sleep(0.05) + time.sleep(1) res_1 = sqlite_loom.update_one( User, filters=Filter(column="username", value="@miller"), diff --git a/hi.db b/hi.db index 49b94a3b1f4497528640808d537d93b67f4c9c4d..7549c0394269df64beee964b2eb970b3325f5758 100644 GIT binary patch delta 326 zcmZp8z}WDBae|bPfCU2s13M5y0q2Q{Iz~(a78?`xb1_ZknXJg2#57qDNF_Lj`uON5 zBs8&3)?ybI7iVnFEJ;ktNi8i-Eh;W;%!i5EB8dXk`oPsTX-*E?tihwr$TT@*b11J4 zkPe-^gHLAid_Hle$>Bg|H`8P`s0i=mJpOd1$q_)V(&nH1ANkqMtxQa<3=B7aln>D7 zhH`*zwwWyFFF85YUm^u6Cd6M?6XJlYxqHAEJYiOuo0F!3MFU^Ekdh$bm L37AV31t