From 47344d264d430519cc325df44e10686e4bc6047b Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Wed, 13 Sep 2023 22:34:41 +0200 Subject: [PATCH] Remove invalid test --- .github/workflows/ci.yml | 1 - .../src/test/scala/xsbt/IPCSpec.scala | 23 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 main-command/src/test/scala/xsbt/IPCSpec.scala diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6fddebb6..acbf5bf73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,7 +186,6 @@ jobs: shell: bash run: | # test building sbtn on Windows - sbt "commandProj/testOnly xsbt.IPCSpec" sbt "-Dsbt.io.virtual=false" nativeImage # test launcher script echo build using JDK 8, test using JDK 8, on Windows diff --git a/main-command/src/test/scala/xsbt/IPCSpec.scala b/main-command/src/test/scala/xsbt/IPCSpec.scala deleted file mode 100644 index dfeb1dc4f..000000000 --- a/main-command/src/test/scala/xsbt/IPCSpec.scala +++ /dev/null @@ -1,23 +0,0 @@ -/* - * sbt - * Copyright 2011 - 2018, Lightbend, Inc. - * Copyright 2008 - 2010, Mark Harrah - * Licensed under Apache License 2.0 (see LICENSE) - */ - -package xsbt - -import org.scalatest.flatspec.AnyFlatSpec -import org.scalatest.matchers.should.Matchers._ - -class IPCSpec extends AnyFlatSpec { - "server" should "allow same number of connections as determined in socket backlog" in { - noException should be thrownBy { - val server = IPC.unmanagedServer - (1 until IPC.socketBacklog + 1).foreach { _ => - IPC.client(server.port)(identity) - } - server.close() - } - } -}