gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] 03/05: removing useless test


From: gnunet
Subject: [libeufin] 03/05: removing useless test
Date: Fri, 10 Mar 2023 17:44:33 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

commit 8188af594cf7ac6adb81601ea8fc1444bbd697b0
Author: MS <ms@taler.net>
AuthorDate: Fri Mar 10 17:26:11 2023 +0100

    removing useless test
---
 nexus/src/test/kotlin/DBTest.kt | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/nexus/src/test/kotlin/DBTest.kt b/nexus/src/test/kotlin/DBTest.kt
deleted file mode 100644
index ff044a3e..00000000
--- a/nexus/src/test/kotlin/DBTest.kt
+++ /dev/null
@@ -1,31 +0,0 @@
-package tech.libeufin.nexus
-
-import kotlinx.coroutines.*
-import org.jetbrains.exposed.dao.flushCache
-import org.jetbrains.exposed.exceptions.ExposedSQLException
-import org.jetbrains.exposed.sql.*
-import org.jetbrains.exposed.sql.statements.api.ExposedConnection
-import org.jetbrains.exposed.sql.transactions.TransactionManager
-import org.jetbrains.exposed.sql.transactions.transaction
-import org.jetbrains.exposed.sql.transactions.transactionManager
-import org.junit.Test
-import org.postgresql.PGConnection
-import org.postgresql.jdbc.PgConnection
-import tech.libeufin.util.PostgresListenNotify
-import withTestDatabase
-import java.sql.Connection
-import java.sql.DriverManager
-
-class DBTest {
-
-    // Testing database notifications (only postgresql)
-    @Test
-    fun notifications() {
-        val genCon = 
DriverManager.getConnection("jdbc:postgresql://localhost:5432/talercheck?user=job")
-        val pgCon = genCon.unwrap(org.postgresql.jdbc.PgConnection::class.java)
-        val ln = PostgresListenNotify(pgCon, "x")
-        ln.postrgesListen()
-        ln.postgresNotify()
-        runBlocking { ln.postgresWaitNotification(2000L) }
-    }
-}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]