Browse Source

chore(hybrid-cloud): Clean up SET ROLE from migration tests (#56187)

Alberto Leal 1 year ago
parent
commit
670d1031c0
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/sentry/testutils/cases.py

+ 0 - 2
src/sentry/testutils/cases.py

@@ -2250,8 +2250,6 @@ class TestMigrations(TransactionTestCase):
         self.migrate_to = [(self.app, self.migrate_to)]
 
         connection = connections[self.connection]
-        with connection.cursor() as cursor:
-            cursor.execute("SET ROLE 'postgres'")
 
         self.setup_initial_state()