From 535c7e9d8e1f8f183eca45c799bcad4cf661f84e Mon Sep 17 00:00:00 2001 From: Crispen Gari Date: Sun, 11 Feb 2024 09:58:59 +0200 Subject: [PATCH] eee --- 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 966c9b0..20f9c5f 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(1) + time.sleep(2) 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(1) + time.sleep(2) 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 2176103..3be2eec 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(1) + time.sleep(0.05) 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(1) + time.sleep(0.05) 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 b865b9e..2122d3f 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(1) + time.sleep(0.05) 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(1) + time.sleep(0.05) res_1 = sqlite_loom.update_one( User, filters=Filter(column="username", value="@miller"), diff --git a/hi.db b/hi.db index 7549c0394269df64beee964b2eb970b3325f5758..ad785a7ac9b321982bc930bb9ee94823c98c9568 100644 GIT binary patch delta 318 zcmZp8z}WDBae|bPpbrBB13M5y0awmM9U~?|pN$FoxtOLHO;+SiVwz$Oq!OG%eSCBj z5}H`21h9*Xi!(N7mLw+Sq?Q(^78RE^=EFp7kwk%Ni{NUTG^f;T*5J`*WSUa7Ih0oi zNLNqZ!6!3$KA$+#lv*IOn`w#;RD^eO9)CL1lsX_+Y4cD1&-|>W7FH(an?K42>2rdZ zW`=%WntrB5H;rX%FoC%GB7gHH89dOG*mD!w}MDBBg|H`8P`s0i=mJpOd1$q_)V(&nH1pZQr$OsxzIH-D55(&q#- zf$p`LEaxvdIn`e(2`nPZ!p6ZMYRu`CpOI%|U}U0eV5Dnks9<1j1(9aPFU^Ekdh$bm LDTo^u1t