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 49b94a3..7549c03 100644 Binary files a/hi.db and b/hi.db differ