From 504b8057c4a54d2e757f04b8a228620c520a4283 Mon Sep 17 00:00:00 2001 From: JingZhang Chen Date: Sun, 19 May 2024 21:33:02 +0800 Subject: [PATCH] fix oracle clean up --- .../apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/migrator-integration-test/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala b/migrator-integration-test/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala index 51e22e62..6af87016 100644 --- a/migrator-integration-test/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala +++ b/migrator-integration-test/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala @@ -342,6 +342,7 @@ object MigratorSpec { tables.foreach { name => withStatement(stmt => stmt.executeUpdate(s"""DELETE FROM "$name" """))(db) } + withStatement(stmt => stmt.executeUpdate("""BEGIN "reset_legacy_sequence"; END; """))(db) withStatement(stmt => stmt.executeUpdate("""BEGIN "reset_sequence"; END; """))(db) }