Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-flaky-pg-test' into fix-flak…
Browse files Browse the repository at this point in the history
…y-pg-test
  • Loading branch information
kssenii committed Dec 14, 2023
2 parents 3605caa + b05c73b commit dbca466
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,11 @@ def attack(thread_id):

# random update / delete query
cursor.execute(query_pool[query_id].format(random_table_name))
print("Executing for table {} query: {}".format(random_table_name, query_pool[query_id]))
print(
"Executing for table {} query: {}".format(
random_table_name, query_pool[query_id]
)
)

# allow some thread to do inserts (not to violate key constraints)
if thread_id < 5:
Expand Down

0 comments on commit dbca466

Please sign in to comment.