diff --git a/build.sbt b/build.sbt index ab7f977d297..fbaf1a8e2fa 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,5 @@ import com.typesafe.sbt.packager.SettingsHelper import com.typesafe.sbt.packager.docker.DockerPlugin.autoImport.dockerUsername -import org.slf4j.LoggerFactory import pl.project13.scala.sbt.JmhPlugin import pl.project13.scala.sbt.JmhPlugin._ import sbt.Keys._ @@ -161,14 +160,6 @@ def forScalaVersion[T](version: String)(provide: PartialFunction[(Int, Int), T]) } } -lazy val testGroupStartLogger = new TestReportListener { - private val logger = LoggerFactory.getLogger("TestListener") - override def startGroup(name: String): Unit = logger.error(s"Starting test group [$name]") - override def testEvent(event: TestEvent): Unit = () - override def endGroup(name: String, t: Throwable): Unit = () - override def endGroup(name: String, result: TestResult): Unit = () -} - lazy val commonSettings = publishSettings ++ Seq( @@ -179,12 +170,7 @@ lazy val commonSettings = "confluent" at "https://packages.confluent.io/maven", ), // We ignore k8s tests to keep development setup low-dependency - Test / testOptions ++= Seq( - scalaTestReports, - ignoreSlowTests, - ignoreExternalDepsTests, - Tests.Listeners(List(testGroupStartLogger)) - ), + Test / testOptions ++= Seq(scalaTestReports, ignoreSlowTests, ignoreExternalDepsTests), addCompilerPlugin("org.typelevel" % "kind-projector" % "0.13.3" cross CrossVersion.full), libraryDependencies += compilerPlugin( "com.github.ghik" % "silencer-plugin" % forScalaVersion(scalaVersion.value) { diff --git a/designer/server/src/test/scala/pl/touk/nussknacker/test/base/it/NuResourcesTest.scala b/designer/server/src/test/scala/pl/touk/nussknacker/test/base/it/NuResourcesTest.scala index cfef30ce1c1..cde22f36654 100644 --- a/designer/server/src/test/scala/pl/touk/nussknacker/test/base/it/NuResourcesTest.scala +++ b/designer/server/src/test/scala/pl/touk/nussknacker/test/base/it/NuResourcesTest.scala @@ -245,12 +245,7 @@ trait NuResourcesTest testCode: => Assertion ): Assertion = createProcessRequest(process.name) { _ => - // FIXME: sometimes this cant be decoded - logger.error( - s"FLAKY TEST PROBLEM in test `snapshots process` ---- decoded json: ${parser.decode[Json](responseAs[String]).toString}" - ) val json = parser.decode[Json](responseAs[String]).rightValue - logger.error(json.toString) val resp = CreateProcessResponse(json) resp.processName shouldBe process.name