Merge pull request #19871 from ktoso/wip-timeout-http-error-ktoso
=htc #19827 avoid double-push when request timeout triggers
This commit is contained in:
commit
ac1888fd66
25 changed files with 595 additions and 71 deletions
|
|
@ -12,19 +12,19 @@ import akka.http.scaladsl.model._
|
|||
import akka.stream.ActorMaterializer
|
||||
import akka.stream.scaladsl.{ Flow, Sink }
|
||||
import akka.testkit.TestActors
|
||||
import docs.CompileOnlySpec
|
||||
import org.scalatest.{ Matchers, WordSpec }
|
||||
import scala.io.StdIn
|
||||
import scala.language.postfixOps
|
||||
|
||||
import scala.concurrent.{ ExecutionContext, Future }
|
||||
|
||||
class HttpServerExampleSpec extends WordSpec with Matchers {
|
||||
class HttpServerExampleSpec extends WordSpec with Matchers
|
||||
with CompileOnlySpec {
|
||||
|
||||
// never actually called
|
||||
val log: LoggingAdapter = null
|
||||
|
||||
def compileOnlySpec(body: => Unit) = ()
|
||||
|
||||
"binding-example" in compileOnlySpec {
|
||||
import akka.http.scaladsl.Http
|
||||
import akka.stream.ActorMaterializer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue