public class HostConnectionPoolSpec extends PekkoSpecWithMaterializer implements org.scalatest.concurrent.Eventually
Right now it tests against various stacks with various depths. It's debatable whether it should actually be tested against plain network bytes instead to show interaction on the HTTP protocol level instead of against the server API level.
Modifier and Type | Class and Description |
---|---|
static interface |
HostConnectionPoolSpec.ClientServerImplementation |
class |
HostConnectionPoolSpec.KillSwitchedClientTransport |
class |
HostConnectionPoolSpec.PassThrough
Transport that just passes through requests / responses
|
class |
HostConnectionPoolSpec.PassThrough$
Transport that just passes through requests / responses
|
class |
HostConnectionPoolSpec.PekkoHttpEngineNoNetwork
Transport that runs everything through client and server engines but without actual network
|
class |
HostConnectionPoolSpec.PekkoHttpEngineNoNetwork$
Transport that runs everything through client and server engines but without actual network
|
class |
HostConnectionPoolSpec.PekkoHttpEngineTCP
Transport that uses actual top-level Http APIs to establish a plaintext HTTP connection
|
class |
HostConnectionPoolSpec.PekkoHttpEngineTCP$
Transport that uses actual top-level Http APIs to establish a plaintext HTTP connection
|
class |
HostConnectionPoolSpec.PekkoHttpEngineTLS
Transport that uses actual top-level Http APIs to establish a HTTPS connection
Currently requires an /etc/hosts entry that points pekko.example.org to a locally bindable address.
|
class |
HostConnectionPoolSpec.PekkoHttpEngineTLS$
Transport that uses actual top-level Http APIs to establish a HTTPS connection
Currently requires an /etc/hosts entry that points pekko.example.org to a locally bindable address.
|
class |
HostConnectionPoolSpec.TopLevelApiClientServerImplementation |
org.scalatest.concurrent.PatienceConfiguration.Interval, org.scalatest.concurrent.PatienceConfiguration.Interval$, org.scalatest.concurrent.PatienceConfiguration.PatienceConfigParam, org.scalatest.concurrent.PatienceConfiguration.Timeout, org.scalatest.concurrent.PatienceConfiguration.Timeout$
org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig, org.scalatest.concurrent.AbstractPatienceConfiguration.PatienceConfig$
org.scalatest.wordspec.AnyWordSpecLike.AfterWord, org.scalatest.wordspec.AnyWordSpecLike.ItWord, org.scalatest.wordspec.AnyWordSpecLike.ResultOfTaggedAsInvocationOnString, org.scalatest.wordspec.AnyWordSpecLike.TheyWord, org.scalatest.wordspec.AnyWordSpecLike.WordSpecStringWrapper
org.scalatest.TestSuite.NoArgTest, org.scalatest.TestSuite.NoArgTest$
org.scalatest.Assertions.AssertionsHelper
org.scalactic.TripleEqualsSupport.AToBEquivalenceConstraint<A,B>, org.scalactic.TripleEqualsSupport.BToAEquivalenceConstraint<A,B>, org.scalactic.TripleEqualsSupport.CheckingEqualizer<L>, org.scalactic.TripleEqualsSupport.EqualityConstraint<A,B>, org.scalactic.TripleEqualsSupport.Equalizer<L>, org.scalactic.TripleEqualsSupport.Spread<T>, org.scalactic.TripleEqualsSupport.Spread$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation<T>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocation$, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread<T>, org.scalactic.TripleEqualsSupport.TripleEqualsInvocationOnSpread$
org.scalatest.verbs.ShouldVerb.StringShouldWrapperForVerb
org.scalatest.verbs.MustVerb.StringMustWrapperForVerb
org.scalatest.verbs.CanVerb.StringCanWrapperForVerb
org.scalatest.matchers.should.Matchers.AnWord, org.scalatest.matchers.should.Matchers.AnyShouldWrapper<T>, org.scalatest.matchers.should.Matchers.AWord, org.scalatest.matchers.should.Matchers.Collected, org.scalatest.matchers.should.Matchers.HavePropertyMatcherGenerator, org.scalatest.matchers.should.Matchers.KeyWord, org.scalatest.matchers.should.Matchers.RegexWord, org.scalatest.matchers.should.Matchers.RegexWrapper, org.scalatest.matchers.should.Matchers.ResultOfBeWordForAny<T>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfBeWordForCollectedArray<T>, org.scalatest.matchers.should.Matchers.ResultOfCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfContainWordForCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfEndWithWordForString, org.scalatest.matchers.should.Matchers.ResultOfFullyMatchWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfFullyMatchWordForString, org.scalatest.matchers.should.Matchers.ResultOfHaveWordForCollectedExtent<A>, org.scalatest.matchers.should.Matchers.ResultOfHaveWordForExtent<A>, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfIncludeWordForString, org.scalatest.matchers.should.Matchers.ResultOfNotWordForCollectedAny<T>, org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForCollectedString, org.scalatest.matchers.should.Matchers.ResultOfStartWithWordForString, org.scalatest.matchers.should.Matchers.StringShouldWrapper, org.scalatest.matchers.should.Matchers.TheSameInstanceAsPhrase, org.scalatest.matchers.should.Matchers.ValueWord
org.scalactic.Tolerance.PlusOrMinusWrapper<T>
Constructor and Description |
---|
HostConnectionPoolSpec() |
Modifier and Type | Method and Description |
---|---|
ConnectionPoolSettings |
defaultSettings() |
protected scala.Function0<Http.OutgoingConnection> |
newOutgoingConnection()
Generates a new unique outgoingConnection
|
HostConnectionPoolSpec.PassThrough$ |
PassThrough() |
HostConnectionPoolSpec.PekkoHttpEngineNoNetwork$ |
PekkoHttpEngineNoNetwork() |
HostConnectionPoolSpec.PekkoHttpEngineTCP$ |
PekkoHttpEngineTCP() |
HostConnectionPoolSpec.PekkoHttpEngineTLS$ |
PekkoHttpEngineTLS() |
org.apache.pekko.stream.Materializer |
singleElementBufferMaterializer() |
void |
testSet(HostConnectionPoolSpec.ClientServerImplementation clientServerImplementation) |
beforeTermination, callerName, expectSevereLogsOnlyToMatch, materializer
afterAll, beforeAll, behave, getCallerName, invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected, it, mapToConfig, stackDepth, styleName, subjectRegistrationFunction, subjectWithAfterWordRegistrationFunction, testConf, they
a, after, afterTermination, an, atStartup, be, classEqualityConstraint, compile, contain, decided, defined, determined, empty, endWith, exist, expectedTestDuration, fullyMatch, have, include, jsAdjustment, key, length, log, matchPattern, muteDeadLetters, NoArgTest, not, patience, PatienceConfig, readable, regex, setEqualityConstraint, size, sorted, spawn, startWith, succeed, theSameInstanceAs, typeCheck, value, writable
assertForDuration, assertForDuration$default$3, awaitAssert, awaitAssert$default$2, awaitAssert$default$3, awaitCond, awaitCond$default$2, awaitCond$default$3, awaitCond$default$4, childActorOf, childActorOf, childActorOf, childActorOf, expectMsg, expectMsg, expectMsg, expectMsgAllClassOf, expectMsgAllClassOf, expectMsgAllConformingOf, expectMsgAllConformingOf, expectMsgAllOf, expectMsgAllOf, expectMsgAnyClassOf, expectMsgAnyClassOf, expectMsgAnyOf, expectMsgAnyOf, expectMsgClass, expectMsgClass, expectMsgPF, expectMsgPF$default$1, expectMsgPF$default$2, expectMsgType, expectMsgType, expectNoMessage, expectNoMessage, expectNoMsg, expectNoMsg, expectTerminated, expectTerminated$default$2, fishForMessage, fishForMessage$default$1, fishForMessage$default$2, fishForSpecificMessage, fishForSpecificMessage$default$1, fishForSpecificMessage$default$2, ignoreMsg, ignoreNoMsg, lastMessage_$eq, lastMessage, lastSender, msgAvailable, now, org$apache$pekko$testkit$TestKitBase$_setter_$org$apache$pekko$testkit$TestKitBase$$queue_$eq, org$apache$pekko$testkit$TestKitBase$$end_$eq, org$apache$pekko$testkit$TestKitBase$$end, org$apache$pekko$testkit$TestKitBase$$lastWasNoMsg_$eq, org$apache$pekko$testkit$TestKitBase$$lastWasNoMsg, org$apache$pekko$testkit$TestKitBase$$queue, receiveN, receiveN, receiveOne, receiveWhile, receiveWhile$default$1, receiveWhile$default$2, receiveWhile$default$3, remaining, remainingOr, remainingOrDefault, setAutoPilot, shutdown, shutdown$default$1, shutdown$default$2, shutdown$default$3, shutdownActorSystem, shutdownActorSystem$default$2, shutdownActorSystem$default$3, system, testActor, testActorName, testKitSettings, unwatch, watch, within, within
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, eventually, eventually, eventually, eventually
$init$, interval, org$scalatest$concurrent$PatienceConfiguration$_setter_$org$scalatest$concurrent$PatienceConfiguration$$defaultPatienceConfig_$eq, org$scalatest$concurrent$PatienceConfiguration$$defaultPatienceConfig, patienceConfig, timeout
$init$, PatienceConfig
$init$, scaled, spanScaleFactor
failOnSevereMessages, isSevere, system, withFixture, withPrefixedOut
expectedTestCount, nestedSuites, rerunner, run, runNestedSuites, runTest, runTests, styleName, suiteId, suiteName, tags, testDataFor, testNames
$init$, afterWord, alert, convertToWordSpecStringWrapper, info, markup, note, org$scalatest$wordspec$AnyWordSpecLike$_setter_$behave_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$it_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$org$scalatest$wordspec$AnyWordSpecLike$$engine_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$stackDepth_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$styleName_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$subjectRegistrationFunction_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$subjectWithAfterWordRegistrationFunction_$eq, org$scalatest$wordspec$AnyWordSpecLike$_setter_$they_$eq, org$scalatest$wordspec$AnyWordSpecLike$$engine, org$scalatest$wordspec$AnyWordSpecLike$$registerBranch, org$scalatest$wordspec$AnyWordSpecLike$$registerShorthandBranch, org$scalatest$wordspec$AnyWordSpecLike$$registerTestToIgnore, org$scalatest$wordspec$AnyWordSpecLike$$registerTestToRun, registerIgnoredTest, registerTest, run, runTest, runTests, tags, testDataFor, testDataFor$default$2, testNames
$init$, analysisFromThrowable, anExceptionThatShouldCauseAnAbort, autoTagClassAnnotations, checkForPublicNoArgConstructor, createAlertProvided, createAlertProvided$default$10, createCatchReporter, createInfoProvided, createInfoProvided$default$10, createMarkupProvided, createMarkupProvided$default$9, createNoteProvided, createNoteProvided$default$10, diffStrings, execute, execute$default$1, execute$default$2, execute$default$3, execute$default$4, execute$default$5, execute$default$6, execute$default$7, expectedTestCount, FixtureAndInformerInParens, FixtureInParens, formatterForSuiteAborted, formatterForSuiteCompleted, formatterForSuiteStarting, getEscapedIndentedTextForTest, getIndentedTextForInfo, getIndentedTextForTest, getLineInFile, getMessageForException, getMethodForTestName, getObjectsForFailureMessage, getRunTestGoodies, getSuiteClassName, getSuiteRunTestGoodies, getTopOfClass, getTopOfMethod, getTopOfMethod, handleFailedTest, IgnoreTagName, indentation, indentLines, InformerInParens, isTestMethodGoodies, nestedSuites, org$scalatest$Suite$_setter_$styleName_$eq, reportAlertProvided, reportAlertProvided$default$10, reportInfoProvided, reportInfoProvided$default$10, reportMarkupProvided, reportMarkupProvided$default$9, reportNoteProvided, reportNoteProvided$default$10, reportScopeClosed, reportScopeClosed$default$6, reportScopeOpened, reportScopeOpened$default$6, reportScopePending, reportScopePending$default$6, reportTestCanceled, reportTestFailed, reportTestIgnored, reportTestPending, reportTestStarting, reportTestSucceeded, rerunner, runNestedSuites, simpleNameForTest, substituteHtmlSpace, suiteId, suiteName, suiteToString, takesInformer, testMethodTakesAFixture, testMethodTakesAFixtureAndInformer, testMethodTakesAnInformer, unparsedXml, xmlContent, yeOldeTestNames
$init$, assertionsHelper, assertResult, assertResult, assertThrows, cancel, cancel, cancel, cancel, fail, fail, fail, fail, intercept, newAssertionFailedException, newTestCanceledException, org$scalatest$Assertions$_setter_$succeed_$eq, pending, pendingUntilFixed, succeed, withClue
$init$, conversionCheckedConstraint, convertEquivalenceToAToBConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertToCheckingEqualizer, convertToEqualizer, lowPriorityConversionCheckedConstraint, lowPriorityTypeCheckedConstraint, typeCheckedConstraint, unconstrainedEquality
$bang$eq$eq, $bang$eq$eq, $bang$eq$eq, $eq$eq$eq, $eq$eq$eq, $eq$eq$eq, $init$, defaultEquality
$init$, convertToStringShouldWrapperForVerb
$init$, convertToStringMustWrapperForVerb
$init$, org$scalatest$BeforeAndAfterAll$_setter_$invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected_$eq, run
$greater, $greater$eq, $init$, $less, $less$eq, a, all, all, all, all, allElementsOf, allOf, an, atLeast, atLeast, atLeast, atLeast, atLeastOneElementOf, atLeastOneOf, atMost, atMost, atMost, atMost, atMostOneElementOf, atMostOneOf, between, between, between, convertSymbolToHavePropertyMatcherGenerator, convertToAnyShouldWrapper, convertToRegexWrapper, convertToStringShouldWrapper, definedAt, doCollected, equal, equal, every, every, every, every, exactly, exactly, exactly, exactly, inOrder, inOrderElementsOf, inOrderOnly, message, no, no, no, noElementsOf, noneOf, of, oneElementOf, oneOf, only, org$scalatest$matchers$should$Matchers$_setter_$a_$eq, org$scalatest$matchers$should$Matchers$_setter_$an_$eq, org$scalatest$matchers$should$Matchers$_setter_$key_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$AllCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$EveryCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$NoCollected_$eq, org$scalatest$matchers$should$Matchers$_setter_$org$scalatest$matchers$should$Matchers$$ShouldMethodHelper_$eq, org$scalatest$matchers$should$Matchers$_setter_$regex_$eq, org$scalatest$matchers$should$Matchers$_setter_$theSameInstanceAs_$eq, org$scalatest$matchers$should$Matchers$_setter_$value_$eq, org$scalatest$matchers$should$Matchers$$AllCollected, org$scalatest$matchers$should$Matchers$$AtLeastCollected, org$scalatest$matchers$should$Matchers$$AtMostCollected, org$scalatest$matchers$should$Matchers$$BetweenCollected, org$scalatest$matchers$should$Matchers$$EveryCollected, org$scalatest$matchers$should$Matchers$$ExactlyCollected, org$scalatest$matchers$should$Matchers$$NoCollected, org$scalatest$matchers$should$Matchers$$ShouldMethodHelper, the, theSameElementsAs, theSameElementsInOrderAs, thrownBy
$init$, equal, noException, org$scalatest$matchers$dsl$MatcherWords$_setter_$be_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$compile_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$contain_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$defined_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$empty_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$endWith_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$exist_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$fullyMatch_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$have_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$include_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$length_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$matchPattern_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$not_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$readable_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$size_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$sorted_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$startWith_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$typeCheck_$eq, org$scalatest$matchers$dsl$MatcherWords$_setter_$writable_$eq
$init$, org$scalactic$Explicitly$_setter_$after_$eq, org$scalactic$Explicitly$_setter_$decided_$eq, org$scalactic$Explicitly$_setter_$determined_$eq
displayThreadCounts, startAndStopDuration, startCoroner, stopCoroner
$init$, conversionCheckedConstraint, convertEquivalenceToAToBConversionConstraint, convertEquivalenceToBToAConstraint, convertEquivalenceToBToAConversionConstraint, convertToCheckingEqualizer, convertToEqualizer, lowPriorityConversionCheckedConstraint, typeCheckedConstraint, unconstrainedEquality
$init$, convertEquivalenceToAToBConstraint, lowPriorityTypeCheckedConstraint
public HostConnectionPoolSpec.PassThrough$ PassThrough()
public HostConnectionPoolSpec.PekkoHttpEngineNoNetwork$ PekkoHttpEngineNoNetwork()
public HostConnectionPoolSpec.PekkoHttpEngineTCP$ PekkoHttpEngineTCP()
public HostConnectionPoolSpec.PekkoHttpEngineTLS$ PekkoHttpEngineTLS()
public ConnectionPoolSettings defaultSettings()
protected scala.Function0<Http.OutgoingConnection> newOutgoingConnection()
public org.apache.pekko.stream.Materializer singleElementBufferMaterializer()
public void testSet(HostConnectionPoolSpec.ClientServerImplementation clientServerImplementation)