Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Failed: org.apache.pekko.http.impl.engine.ws.MessageSpec

Đang mở
#321 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
scala
Lĩnh vực
backend, testing

Hướng nghiên cứu

Bắt đầu với org.apache.pekko.http.impl.engine.ws.MessageSpec, đặc biệt là test bị lỗi quanh MessageSpec.scala:977. Tái hiện lỗi từ lần chạy GitHub Actions được liên kết và kiểm tra timeout trong trường hợp streamed-binary-to-strict-binary. Hoàn thành khi test infinite-stream chạy xong mà không gặp Future timeout năm giây.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

failed

https://github.com/apache/incubator-pekko-http/actions/runs/6111528161/job/16587278959?pr=320#step:8:1287

- should convert streamed binary to strict binary if stream is infinite *** FAILED *** (5 seconds, 437 milliseconds)
  [info]     java.util.concurrent.TimeoutException: Future timed out after [5 seconds]
  [info]     at scala.concurrent.impl.Promise$DefaultPromise.tryAwait0(Promise.scala:248)
  [info]     at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
  [info]     at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:104)
  [info]     at scala.concurrent.Await$.$anonfun$ready$1(package.scala:174)
  [info]     at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:62)
  [info]     at scala.concurrent.Await$.ready(package.scala:124)
  [info]     at org.apache.pekko.http.impl.engine.ws.MessageSpec.$anonfun$new$99(MessageSpec.scala:977)
  [info]     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
  [info]     at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
  [info]     at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
  [info]     at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  [info]     at org.scalatest.Transformer.apply(Transformer.scala:22)
  [info]     at org.scalatest.Transformer.apply(Transformer.scala:20)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1239)
  [info]     at org.apache.pekko.http.impl.util.WithLogCapturing.$anonfun$withFixture$1(WithLogCapturing.scala:59)
  [info]     at org.apache.pekko.testkit.EventFilter.intercept(TestEventListener.scala:129)
  [info]     at org.apache.pekko.http.impl.util.WithLogCapturing.withFixture(WithLogCapturing.scala:57)
  [info]     at org.apache.pekko.http.impl.util.WithLogCapturing.withFixture$(WithLogCapturing.scala:44)
  [info]     at org.apache.pekko.http.impl.util.PekkoSpecWithMaterializer.withFixture(PekkoSpecWithMaterializer.scala:24)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:[1237](https://github.com/apache/incubator-pekko-http/actions/runs/6111528161/job/16587278959?pr=320#step:8:1293))
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1249)
  [info]     at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1249)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1231)
  [info]     at org.apache.pekko.testkit.PekkoSpec.runTest(PekkoSpec.scala:70)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1308)
  [info]     at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
  [info]     at scala.collection.immutable.List.foreach(List.scala:333)
  [info]     at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
  [info]     at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
  [info]     at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
  [info]     at scala.collection.immutable.List.foreach(List.scala:333)
  [info]     at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
  [info]     at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
  [info]     at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
  [info]     at scala.collection.immutable.List.foreach(List.scala:333)
  [info]     at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
  [info]     at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
  [info]     at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1308)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1307)
  [info]     at org.apache.pekko.testkit.PekkoSpec.runTests(PekkoSpec.scala:70)
  [info]     at org.scalatest.Suite.run(Suite.scala:1114)
  [info]     at org.scalatest.Suite.run$(Suite.scala:1096)
  [info]     at org.apache.pekko.testkit.PekkoSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(PekkoSpec.scala:70)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1353)
  [info]     at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1353)
  [info]     at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1351)
  [info]     at org.apache.pekko.testkit.PekkoSpec.org$scalatest$BeforeAndAfterAll$$super$run(PekkoSpec.scala:70)
  [info]     at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
  [info]     at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
  [info]     at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
  [info]     at org.apache.pekko.testkit.PekkoSpec.run(PekkoSpec.scala:70)
  [info]     at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
  [info]     at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
  [info]     at sbt.TestRunner.runTest$1(TestFramework.scala:153)
  [info]     at sbt.TestRunner.run(TestFramework.scala:168)
  [info]     at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
  [info]     at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
  [info]     at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
  [info]     at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
  [info]     at sbt.TestFunction.apply(TestFramework.scala:348)
  [info]     at sbt.Tests$.processRunnable$1(Tests.scala:475)
  [info]     at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
  [info]     at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
  [info]     at sbt.std.Transform$$anon$4.work(Transform.scala:69)
  [info]     at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
  [info]     at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
  [info]     at sbt.Execute.work(Execute.scala:292)
  [info]     at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
  [info]     at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
  [info]     at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
  [info]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  [info]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  [info]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  [info]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  [info]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  [info]     at java.lang.Thread.run(Thread.java:750)
Ngôn ngữ chính
Scala
Star
196
Fork
56
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/pekko-http

Tất cả issue của apache/pekko-http

Issue tương tự

Thêm issue về Scala

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.