Skip to content

Commit

Permalink
account for add_all optimisations in sqlalchemy 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnbbrown committed Jul 6, 2021
1 parent dbcb2ab commit cb4a41f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ def insert_players(session):
close_all_sessions()

spans = self.memory_exporter.get_finished_spans()
self.assertEqual(len(spans), 5)
self.assertEqual(len(spans), 5 if self.VENDOR not in ["postgresql"] else 3)

0 comments on commit cb4a41f

Please sign in to comment.