Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

val preflightTests = List(
testServer(
endpoint.options.in("path").out(stringBody),
endpoint.post.in("path").out(stringBody),
"CORS with default config; valid preflight request",
_.corsInterceptor(CORSInterceptor.default[F])
)(_ => pureResult("foo".asRight[Unit])) { (backend, baseUri) =>
preflightRequest(baseUri)
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 32 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$4(ServerCORSTests.scala:32)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 32 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$3$$anonfun$1(ServerCORSTests.scala:32)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers should contain allOf (
Header.accessControlAllowOrigin("*"),
Header.accessControlAllowMethods(CORSConfig.default.allowedMethods.asInstanceOf[AllowedMethods.Some].methods.toList: _*),
Expand All @@ -45,7 +45,7 @@
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers",
_.corsInterceptor(
CORSInterceptor.customOrThrow[F](
Expand All @@ -61,7 +61,7 @@
preflightRequest(baseUri)
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 64 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$8(ServerCORSTests.scala:64)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 64 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$5$$anonfun$1(ServerCORSTests.scala:64)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers should contain allOf (
Header.accessControlAllowOrigin("https://example.com"),
Header.accessControlAllowMethods(Method.POST),
Expand All @@ -74,7 +74,7 @@
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers",
_.corsInterceptor(
CORSInterceptor.customOrThrow[F](
Expand All @@ -90,7 +90,7 @@
preflightRequest(baseUri, "example2.com")
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 93 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$12(ServerCORSTests.scala:93)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 93 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$7$$anonfun$1(ServerCORSTests.scala:93)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers should contain allOf (
Header.accessControlAllowOrigin("https://example2.com"),
Header.accessControlAllowMethods(Method.POST),
Expand All @@ -103,19 +103,19 @@
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with specific allowed origin; preflight request with unsupported origin",
_.corsInterceptor(CORSInterceptor.customOrThrow[F](CORSConfig.default.allowOrigin(Origin.Host("https", "example.com"))))
)(noop) { (backend, baseUri) =>
preflightRequest(baseUri, "unsupported.com")
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 113 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin; preflight request with unsupported origin

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$16(ServerCORSTests.scala:113)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 113 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin; preflight request with unsupported origin

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$9$$anonfun$1(ServerCORSTests.scala:113)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers.map(_.name) should not contain (HeaderNames.AccessControlAllowOrigin)
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with multiple allowed origins; preflight request with unsupported origin",
_.corsInterceptor(
CORSInterceptor.customOrThrow[F](CORSConfig.default.allowMatchingOrigins(Set("https://example1.com", "https://example2.com")))
Expand All @@ -124,54 +124,54 @@
preflightRequest(baseUri, "unsupported.com")
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 127 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins; preflight request with unsupported origin

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$20(ServerCORSTests.scala:127)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 127 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins; preflight request with unsupported origin

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$11$$anonfun$1(ServerCORSTests.scala:127)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers.map(_.name) should not contain (HeaderNames.AccessControlAllowOrigin)
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with specific allowed method; preflight request with unsupported method",
_.corsInterceptor(CORSInterceptor.customOrThrow[F](CORSConfig.default.allowMethods(Method.PUT)))
)(noop) { (backend, baseUri) =>
preflightRequest(baseUri)
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 139 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed method; preflight request with unsupported method

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$24(ServerCORSTests.scala:139)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 139 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed method; preflight request with unsupported method

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$13$$anonfun$1(ServerCORSTests.scala:139)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers.map(_.name) should not contain (HeaderNames.AccessControlAllowMethods)
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with specific allowed headers; preflight request with unsupported header",
_.corsInterceptor(CORSInterceptor.customOrThrow[F](CORSConfig.default.allowHeaders("X-Bar")))
)(noop) { (backend, baseUri) =>
preflightRequest(baseUri)
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 151 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed headers; preflight request with unsupported header

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$28(ServerCORSTests.scala:151)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 151 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed headers; preflight request with unsupported header

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$15$$anonfun$1(ServerCORSTests.scala:151)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers.map(_.name) should not contain (HeaderNames.AccessControlAllowHeaders)
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with reflected allowed headers; preflight request",
_.corsInterceptor(CORSInterceptor.customOrThrow[F](CORSConfig.default.reflectHeaders))
)(noop) { (backend, baseUri) =>
preflightRequest(baseUri)
.send(backend)
.map { response =>
response.code shouldBe StatusCode.NoContent

Check failure on line 163 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with reflected allowed headers; preflight request

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$32(ServerCORSTests.scala:163)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 163 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with reflected allowed headers; preflight request

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$17$$anonfun$1(ServerCORSTests.scala:163)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
response.headers should contain(Header.accessControlAllowHeaders("X-Foo"))
}
},
testServer(
endpoint.options.in("path"),
endpoint.post.in("path"),
"CORS with custom response code for preflight requests; valid preflight request",
_.corsInterceptor(CORSInterceptor.customOrThrow[F](CORSConfig.default.preflightResponseStatusCode(StatusCode.Ok)))
)(noop) { (backend, baseUri) =>
preflightRequest(baseUri)
.send(backend)
.map(_.code shouldBe StatusCode.Ok)

Check failure on line 174 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 2.13-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with custom response code for preflight requests; valid preflight request

Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:7539)
	at sttp.tapir.server.tests.ServerCORSTests.$anonfun$preflightTests$35(ServerCORSTests.scala:174)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)

Check failure on line 174 in server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala

View workflow job for this annotation

GitHub Actions / Test report for 3-JVM-11

sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with custom response code for preflight requests; valid preflight request

Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
Raw output
org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
	at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
	at org.scalatest.matchers.should.Matchers.shouldBe(Matchers.scala:7017)
	at org.scalatest.matchers.should.Matchers.shouldBe$(Matchers.scala:1808)
	at org.scalatest.matchers.should.Matchers$.shouldBe(Matchers.scala:7725)
	at sttp.tapir.server.tests.ServerCORSTests.$init$$$anonfun$19$$anonfun$1(ServerCORSTests.scala:174)
	at delay @ sttp.client3.impl.cats.CatsMonadError.eval(CatsMonadError.scala:19)
	at map @ sttp.client3.impl.cats.CatsMonadError.map(CatsMonadError.scala:9)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at modify @ fs2.internal.Scope.close(Scope.scala:262)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at rethrow$extension @ fs2.Compiler$Target.compile$$anonfun$1(Compiler.scala:157)
	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
	at flatMap @ fs2.Pull$.goCloseScope$1$$anonfun$1$$anonfun$3(Pull.scala:1216)
	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:227)
},
testServer(
endpoint.options.in("path"),
Expand Down
Loading