File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,6 @@ main = do
7373 . before_ (createDirectoryIfMissing False " tests/tmp" )
7474 . after_ (eventuallyRemove " tests/tmp" 3 )
7575 $ do
76- #if defined(dbPostgres)
77- around_ (postgressBracket testDBConnectInfo) $
78- describe " Agent PostgreSQL schema dump" $
79- postgresSchemaDumpTest
80- appMigrations
81- [" 20250322_short_links" ] -- snd_secure and last_broker_ts columns swap order on down migration
82- (testDBOpts testDB)
83- " src/Simplex/Messaging/Agent/Store/Postgres/Migrations/agent_postgres_schema.sql"
84- #else
85- describe " Agent SQLite schema dump" schemaDumpTest
86- #endif
8776 describe " Core tests" $ do
8877 describe " Batching tests" batchingTests
8978 describe " Encoding tests" encodingTests
@@ -160,6 +149,17 @@ main = do
160149 describe " XFTP agent" xftpAgentTests
161150 describe " XRCP" remoteControlTests
162151 describe " Server CLIs" cliTests
152+ #if defined(dbPostgres)
153+ around_ (postgressBracket testDBConnectInfo) $
154+ describe " Agent PostgreSQL schema dump" $
155+ postgresSchemaDumpTest
156+ appMigrations
157+ [" 20250322_short_links" ] -- snd_secure and last_broker_ts columns swap order on down migration
158+ (testDBOpts testDB)
159+ " src/Simplex/Messaging/Agent/Store/Postgres/Migrations/agent_postgres_schema.sql"
160+ #else
161+ describe " Agent SQLite schema dump" schemaDumpTest
162+ #endif
163163
164164eventuallyRemove :: FilePath -> Int -> IO ()
165165eventuallyRemove path retries = case retries of
You can’t perform that action at this time.
0 commit comments