An applyResilience operator > events
should only emit onFail event if disableRetry flag was true and stream caused an error
passed
0.012s
An applyResilience operator > events
should call onRetryRequest after retryIntervalInMillisList passed and the call will be retried
passed
0.007s
An applyResilience operator > events
should wait for user decision event before restarting with new retries
passed
0.005s
An applyResilience operator > events
should fail after user decision was to cancel the stream
passed
0.002s
An applyResilience operator > events
should fail with custom error message after user decision was to cancel the stream if a topic config was given
passed
0.003s
An applyResilience operator > events
should call onFail if it retried as much as specified and failed and waitForUserDecision was false
passed
0.002s
An applyResilience operator > events
should call onFail with custom message if it retried as much as specified and failed and waitForUserDecision was false
passed
0.002s
An applyResilience operator
should throw an error if disableRetry flag was true and the observable had an error
passed
0.001s
An applyResilience operator
should throw error if error status is a not within retry list
passed
0.002s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0.001s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0.001s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0.001s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0.001s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0s
An applyResilience operator > getTopicSpecificBooleanOrDefault behaviour
should return the default boolean if no topic specific override config was provided and the override if provided
passed
0.001s
An applyResilience operator > shouldLogResult behaviour
should return default
passed
0.001s
An applyResilience operator > shouldLogResult behaviour
should return the override specified by topic config
passed
0s
An applyResilience operator > shouldTrace behaviour
should return default
passed
0.001s
An applyResilience operator > shouldTrace behaviour
should return the override specified by topic config
passed
0s
An applyResilience operator > shouldLogResult behaviour
should return default
passed
0.001s
An applyResilience operator > shouldLogResult behaviour
should return the override specified by topic config
passed
0.001s
A ResilientHttpClientService > delayed request behaviour
should emit a delayed request event if request duration exceeds specified amount of ms
passed
0.011s
A ResilientHttpClientService > delayed request behaviour
should emit the topic and uuid of the delayed request
passed
0.002s
A ResilientHttpClientService > trace behaviour
should log the total fetch time
passed
0.001s
A ResilientHttpClientService > trace behaviour
should not log the total fetch time if the trace was disabled
passed
0.002s
A ResilientHttpClientService > map to request body behaviour
should return the unwrapped message body
passed
0.001s
A ResilientHttpClientService > logResult behaviour
should log the received content
passed
0.001s
A ResilientHttpClientService > logResult behaviour
should not log the received content if it was disabled
passed
0.001s
A ResilientHttpClientService > onRequestStart behaviour
should emit a request start event
passed
0.001s
A ResilientHttpClientService > onRequestFinalize behaviour
should emit an onRequestFinalize event after success
passed
0.001s
A ResilientHttpClientService > onRequestFinalize behaviour
should emit an onRequestFinalize event after error
passed
0.001s
A ResilientHttpClientService > failover behaviour
should return replacement result on error
passed
0.001s
A ResilientHttpClientService > failover behaviour
should rethrow the error if no failover result was configured
passed
0.001s
A ResilientHttpClientService > failover behaviour
should emit onFail event with customized message
passed
0.001s
A ResilientHttpClientService > failover behaviour
should default the custom onFail message to empty string
passed
0.001s
A ResilientHttpClientService > resilience retry behaviour
should not retry a request which is not specified as retryable
passed
0.001s
A ResilientHttpClientService > resilience retry behaviour
should retry a failed request according to config
passed
0.002s
A ResilientHttpClientService > resilience retry behaviour
should fail after retry phase if waitForUserDecision was false
passed
0.001s
A ResilientHttpClientService > resilience retry behaviour
should emit a WaitingForUserDecision event if the retry failed
passed
0.002s
A ResilientHttpClientService > resilience retry behaviour
should not emit WaitingForUserDecision event if the retry failed and the config disabled the waiting
passed
0.001s
A ResilientHttpClientService > resilience retry behaviour
should restart the retry loop on user trigger
passed
0.001s
A ResilientHttpClientService > resilience retry behaviour
should fail on user retry decision
passed
0.002s