Skip to content

Commit

Permalink
eee
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispenGari committed Feb 11, 2024
1 parent b493112 commit 535c7e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dataloom/tests/mysql/test_update_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down Expand Up @@ -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"),
Expand Down
4 changes: 2 additions & 2 deletions dataloom/tests/postgres/test_update_pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down Expand Up @@ -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"),
Expand Down
4 changes: 2 additions & 2 deletions dataloom/tests/sqlite3/test_update_sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down Expand Up @@ -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"),
Expand Down
Binary file modified hi.db
Binary file not shown.

0 comments on commit 535c7e9

Please sign in to comment.