libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

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

removing useless test

Diffstat:
Dnexus/src/test/kotlin/DBTest.kt | 32--------------------------------
1 file changed, 0 insertions(+), 32 deletions(-)

diff --git a/nexus/src/test/kotlin/DBTest.kt b/nexus/src/test/kotlin/DBTest.kt @@ -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