Insert a rate limit for cold backends #716
141 passed, 32 failed and 2 skipped
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.AuthenticationAPIServerTest.xml
1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.api.AuthenticationAPIServerTest | 1✅ | 6s |
✅ org.carapaceproxy.api.AuthenticationAPIServerTest
✅ testUnauthorizedRequests
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ClusterReconfigTest.xml
1 tests were completed in 145s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.api.ClusterReconfigTest | 1✅ | 145s |
✅ org.carapaceproxy.api.ClusterReconfigTest
✅ testReconfigInClusterMode
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConfigResourceTest.xml
2 tests were completed in 23s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.api.ConfigResourceTest | 2✅ | 23s |
✅ org.carapaceproxy.api.ConfigResourceTest
✅ testReconfig
✅ testDynamicConfigurationDumpingAndApplying
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConnectionPoolsResourceTest.xml
5 tests were completed in 29s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.api.ConnectionPoolsResourceTest | 5✅ | 29s |
✅ org.carapaceproxy.api.ConnectionPoolsResourceTest
✅ testPostNewConnectionPool
✅ testPutConnectionPoolModifications
✅ testDelete
✅ testGetAll
✅ testGetSingle
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.StartAPIServerTest.xml
15 tests were completed in 79s with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.api.StartAPIServerTest | 15✅ | 79s |
✅ org.carapaceproxy.api.StartAPIServerTest
✅ testActions
✅ testBackends
✅ testCache
✅ testApiRequestsLogger
✅ testListeners
✅ testHttpAndHttpsApi
✅ testDirectors
✅ testResourcesFilter
✅ test
✅ testHttpsApi
✅ testUserRealm
✅ testConfig
✅ testCertificates
✅ testUnauthorized
✅ testRoutes
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
5 tests were completed in 1s with 0 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.ApplyConfigurationTest | 5❌ | 1s |
❌ org.carapaceproxy.ApplyConfigurationTest
❌ testChangeBackendHealthManagerConfiguration
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testChangeFiltersConfiguration
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testUserRealm
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testReloadMapper
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testChangeListenersConfig
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ChunckedEncodingRequestsTest.xml
2 tests were completed in 11s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.ChunckedEncodingRequestsTest | 2✅ | 11s |
✅ org.carapaceproxy.backends.ChunckedEncodingRequestsTest
✅ testClientAbortsUpload
✅ testSimple
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ChunkedEncodingResponseTest.xml
6 tests were completed in 31s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.ChunkedEncodingResponseTest | 6✅ | 31s |
✅ org.carapaceproxy.backends.ChunkedEncodingResponseTest
✅ testSimpleChunkedResponseNoCache
✅ testChunkedHttp(HTTP/1.0, false) [0]
✅ testChunkedHttp(HTTP/1.0, true) [1]
✅ testChunkedHttp(HTTP/1.1, false) [2]
✅ testChunkedHttp(HTTP/1.1, true) [3]
✅ testSimpleChunkedResponseWithCache
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ConnectionPoolTest.xml
3 tests were completed in 19s with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.ConnectionPoolTest | 3❌ | 19s |
❌ org.carapaceproxy.backends.ConnectionPoolTest
❌ testAPIResource
org.junit.ComparisonFailure:
❌ test
org.junit.ComparisonFailure:
❌ hostHeaderTest
java.lang.AssertionError:
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.RestartEndpointTest.xml
3 tests were completed in 16s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.RestartEndpointTest | 3✅ | 16s |
✅ org.carapaceproxy.backends.RestartEndpointTest
✅ testClientsSendsRequestOnDownBackendAtSendRequestWithCache
✅ testClientsSendsRequestBackendRestart
✅ testClientsSendsRequestOnDownBackendAtSendRequest
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.StuckRequestsTest.xml
2 tests were completed in 12s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.StuckRequestsTest | 2❌ | 12s |
❌ org.carapaceproxy.backends.StuckRequestsTest
❌ testBackendUnreachableOnStuckRequest(true) [0]
org.junit.ComparisonFailure:
❌ testBackendUnreachableOnStuckRequest(false) [1]
org.junit.ComparisonFailure:
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml
8 tests were completed in 42s with 4 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.backends.UnreachableBackendTest | 4✅ | 4❌ | 42s |
❌ org.carapaceproxy.backends.UnreachableBackendTest
❌ testEmptyResponse[useCache = true]
org.junit.ComparisonFailure:
✅ testWithUnreachableBackend[useCache = true]
❌ testNonHttpResponseThenClose[useCache = true]
org.junit.ComparisonFailure:
✅ testConnectionResetByPeer[useCache = true]
❌ testEmptyResponse[useCache = false]
org.junit.ComparisonFailure:
✅ testWithUnreachableBackend[useCache = false]
❌ testNonHttpResponseThenClose[useCache = false]
org.junit.ComparisonFailure:
✅ testConnectionResetByPeer[useCache = false]
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.BigUploadTest.xml
2 tests were completed in 11s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.BigUploadTest | 2✅ | 11s |
✅ org.carapaceproxy.BigUploadTest
✅ testConnectionResetByPeerDuringWriteToEndpoint
✅ testBlockingServerWorks
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.cluster.impl.ZooKeeperGroupMembershipHandlerTest.xml
3 tests were completed in 51s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.cluster.impl.ZooKeeperGroupMembershipHandlerTest | 3✅ | 51s |
✅ org.carapaceproxy.cluster.impl.ZooKeeperGroupMembershipHandlerTest
✅ testPeerDiscovery
✅ testWatchEvent
✅ testPeerInfo
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.cluster.impl.ZookKeeperACLTest.xml
1 tests were completed in 21s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.cluster.impl.ZookKeeperACLTest | 1✅ | 21s |
✅ org.carapaceproxy.cluster.impl.ZookKeeperACLTest
✅ testUseAcl
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ConcurrentClientsTest.xml
1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.ConcurrentClientsTest | 1✅ | 6s |
✅ org.carapaceproxy.ConcurrentClientsTest
✅ test
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.configstore.ConfigurationStoreTest.xml
7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.configstore.ConfigurationStoreTest | 7✅ | 5s |
✅ org.carapaceproxy.configstore.ConfigurationStoreTest
✅ testPropertiesIndex(in-memory) [0]
✅ testPropertiesIndex(db) [1]
✅ test(in-memory) [0]
✅ test(db) [1]
✅ testCertificatesPersistency
✅ testCertiticatesConfigurationStore(in-memory) [0]
✅ testCertiticatesConfigurationStore(db) [1]
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.configstore.ConfigurationStoreUtilsTest.xml
2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.configstore.ConfigurationStoreUtilsTest | 2✅ | 1s |
✅ org.carapaceproxy.configstore.ConfigurationStoreUtilsTest
✅ testBase64EncodeEncodeCertificateChain
✅ testBase64EncodeDecodeKeys
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.DatabaseConfigurationTest.xml
2 tests were completed in 406ms with 0 passed, 1 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.DatabaseConfigurationTest | 1❌ | 1⚪ | 406ms |
❌ org.carapaceproxy.DatabaseConfigurationTest
⚪ testChangeFiltersConfiguration
❌ testBootWithDatabaseStore
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.ListenerConfigurationTest.xml
1 tests were completed in 421ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.listeners.ListenerConfigurationTest | 1❌ | 421ms |
❌ org.carapaceproxy.listeners.ListenerConfigurationTest
❌ testListenerKeepAliveConfiguration
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.MultiListeningEndpointTest.xml
1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.listeners.MultiListeningEndpointTest | 1✅ | 6s |
✅ org.carapaceproxy.listeners.MultiListeningEndpointTest
✅ test
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.SSLSNITest.xml
3 tests were completed in 26s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.listeners.SSLSNITest | 3✅ | 26s |
✅ org.carapaceproxy.listeners.SSLSNITest
✅ testTLSVersion
✅ testSelectCertWithoutSNI
✅ testChooseCertificate
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.MaintenanceModeTest.xml
2 tests were completed in 12s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.MaintenanceModeTest | 2❌ | 12s |
❌ org.carapaceproxy.MaintenanceModeTest
❌ test
org.junit.ComparisonFailure:
❌ maintenanceModeApiTest
org.junit.ComparisonFailure:
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.RawClientTest.xml
13 tests were completed in 142s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.RawClientTest | 13✅ | 142s |
✅ org.carapaceproxy.RawClientTest
✅ testEmptyDataFromServer
✅ testMultiClientTimeout
✅ testManyInflightRequests
✅ endpointKeyTest
✅ testServerRequestContinue
✅ testClosedProxy(http) [0]
✅ testClosedProxy(https) [1]
✅ testCookies
✅ testMaxConnectionsAndBorrowTimeout
✅ testKeepAliveTimeout
✅ clientsKeepAliveSimpleTest
✅ testInvalidUriChars
✅ downloadSmallPayloadsTest
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.RealBackendsTest.xml
1 tests were completed in 57ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.RealBackendsTest | 1⚪ | 57ms |
✅ org.carapaceproxy.RealBackendsTest
⚪ testRequestsRealBackend
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheContentLengthLimitTest.xml
2 tests were completed in 31s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.cache.CacheContentLengthLimitTest | 2✅ | 31s |
✅ org.carapaceproxy.server.cache.CacheContentLengthLimitTest
✅ testWithContentLengthHeader
✅ testWithoutContentLengthHeader
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheExpireTest.xml
5 tests were completed in 31s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.cache.CacheExpireTest | 5✅ | 31s |
✅ org.carapaceproxy.server.cache.CacheExpireTest
✅ testHandleExpiresMissingFromServer
✅ testHandleExpiresFromServer
✅ testExpireContentWithoutGet
✅ testDoNotCacheExpiredContent
✅ testExpireContentOnGet
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheTest.xml
12 tests were completed in 62s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.cache.CacheTest | 12✅ | 62s |
✅ org.carapaceproxy.server.cache.CacheTest
✅ testImagesCachableWithQueryString
✅ testServeFromCacheWithConnectionClose
✅ testNotCachableResourceWithQueryString
✅ testNoCacheRequest
✅ testServeFromCacheChunked
✅ testServeFromCacheWithRequestProtocol
✅ testNoCacheResponse
✅ testServeFromCache
✅ testBootSslRelativeCertificatePath
✅ testServeFromCacheSsl(true) [0]
✅ testServeFromCacheSsl(false) [1]
✅ testNotServeFromCacheIfCachableButClientsDisablesCache
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CaffeineCacheImplTest.xml
3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.cache.CaffeineCacheImplTest | 3✅ | 3s |
✅ org.carapaceproxy.server.cache.CaffeineCacheImplTest
✅ simpleTest
✅ testExipiration
✅ testMaxSize
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.NotModifiedTest.xml
1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.cache.NotModifiedTest | 1✅ | 6s |
✅ org.carapaceproxy.server.cache.NotModifiedTest
✅ testServeFromCacheAnswer304
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.CertificatesTest.xml
10 tests were completed in 56s with 4 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.certificates.CertificatesTest | 4✅ | 6❌ | 56s |
❌ org.carapaceproxy.server.certificates.CertificatesTest
✅ testCreateCertificateFromUI
✅ testWildcardsCertificates
❌ testOCSP
org.junit.ComparisonFailure:
❌ test
org.junit.ComparisonFailure:
✅ testUploadTypedCertificatesWithDaysBeforeRenewal(acme) [0]
✅ testUploadTypedCertificatesWithDaysBeforeRenewal(manual) [1]
❌ testUploadTypedCertificate(acme) [0]
org.junit.ComparisonFailure:
❌ testUploadTypedCertificate(manual) [1]
org.junit.ComparisonFailure:
❌ testLocalCertificatesStoring
org.junit.ComparisonFailure:
❌ testCertificatesRenew
org.junit.ComparisonFailure:
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.CertificatesUtilsTest.xml
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.certificates.CertificatesUtilsTest | 2✅ | 2s |
✅ org.carapaceproxy.server.certificates.CertificatesUtilsTest
✅ testCertificatesExpiration
✅ testCompareCertificatesChains
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.DynamicCertificatesManagerTest.xml
25 tests were completed in 16s with 25 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.certificates.DynamicCertificatesManagerTest | 25✅ | 16s |
✅ org.carapaceproxy.server.certificates.DynamicCertificatesManagerTest
✅ testWildcardCertificateStateManagement(challenge_creation_failed) [0]
✅ testWildcardCertificateStateManagement(challenge_check_limit_expired) [1]
✅ testWildcardCertificateStateManagement(challenge_failed) [2]
✅ testWildcardCertificateStateManagement(challenge_verified) [3]
✅ testSanCertificateStateManagement(challenge_creation_failed) [0]
✅ testSanCertificateStateManagement(challenge_check_limit_expired) [1]
✅ testSanCertificateStateManagement(challenge_failed) [2]
✅ testSanCertificateStateManagement(challenge_verified) [3]
✅ testCertificateSimpleStateManagement(challenge_null,true) [0]
✅ testCertificateSimpleStateManagement(challenge_null,false) [1]
✅ testCertificateSimpleStateManagement(challenge_status_invalid,true) [2]
✅ testCertificateSimpleStateManagement(challenge_status_invalid,false) [3]
✅ testCertificateSimpleStateManagement(order_already_valid,true) [4]
✅ testCertificateSimpleStateManagement(order_already_valid,false) [5]
✅ testCertificateSimpleStateManagement(order_finalization_error,true) [6]
✅ testCertificateSimpleStateManagement(order_finalization_error,false) [7]
✅ testCertificateSimpleStateManagement(order_response_error,true) [8]
✅ testCertificateSimpleStateManagement(order_response_error,false) [9]
✅ testCertificateSimpleStateManagement(available_to_expired,true) [10]
✅ testCertificateSimpleStateManagement(available_to_expired,false) [11]
✅ testCertificateSimpleStateManagement(all_ok,true) [12]
✅ testCertificateSimpleStateManagement(all_ok,false) [13]
✅ testDomainReachabilityCheck(localhost-no-ip-check) [0]
✅ testDomainReachabilityCheck(localhost-ip-check-partial) [1]
✅ testDomainReachabilityCheck(localhost-ip-check-full) [2]
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.SimpleFiltersTest.xml
2 tests were completed in 606ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.filters.SimpleFiltersTest | 2✅ | 606ms |
✅ org.carapaceproxy.server.filters.SimpleFiltersTest
✅ testRegexpMapSessionIdFilter
✅ testRegexpMapUserIdFilter
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XForwardedForFilterTest.xml
2 tests were completed in 11s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.filters.XForwardedForFilterTest | 2✅ | 11s |
✅ org.carapaceproxy.server.filters.XForwardedForFilterTest
✅ testXForwardedForFilter
✅ testNoXForwardedForFilter
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XTlsCipherFilterTest.xml
1 tests were completed in 16s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.filters.XTlsCipherFilterTest | 1✅ | 16s |
✅ org.carapaceproxy.server.filters.XTlsCipherFilterTest
✅ TestXTlsProtocol
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XTlsProtocolFilterTest.xml
1 tests were completed in 21s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.filters.XTlsProtocolFilterTest | 1✅ | 21s |
✅ org.carapaceproxy.server.filters.XTlsProtocolFilterTest
✅ TestXTlsProtocol
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest.xml
7 tests were completed in 12s with 0 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest | 7❌ | 12s |
❌ org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest
❌ testActionRedirect
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testCustomAndDebuggingHeaders
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testServeACMEChallengeToken
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ testAlwaysServeStaticContent
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ test
java.io.FileNotFoundException: http://localhost:32807/index.html
❌ testDefaultRoute
java.io.FileNotFoundException: http://localhost:35925/index.html
❌ testRouteErrors
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.ForceBackendTest.xml
1 tests were completed in 6s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.mapper.ForceBackendTest | 1❌ | 6s |
❌ org.carapaceproxy.server.mapper.ForceBackendTest
❌ test
java.io.FileNotFoundException: http://localhost:33631/index.html?thedirector=director-2
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.HealthCheckTest.xml
1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.mapper.HealthCheckTest | 1✅ | 1s |
✅ org.carapaceproxy.server.mapper.HealthCheckTest
✅ test
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.requestmatcher.RequestMatcherTest.xml
2 tests were completed in 522ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.server.mapper.requestmatcher.RequestMatcherTest | 2✅ | 522ms |
✅ org.carapaceproxy.server.mapper.requestmatcher.RequestMatcherTest
✅ test
✅ test2
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.SimpleHTTPProxyTest.xml
3 tests were completed in 16s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.SimpleHTTPProxyTest | 3✅ | 16s |
✅ org.carapaceproxy.SimpleHTTPProxyTest
✅ testSsl
✅ test
✅ testEndpointDown
✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.users.FileUserRealmTest.xml
3 tests were completed in 16s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.carapaceproxy.users.FileUserRealmTest | 3✅ | 16s |
✅ org.carapaceproxy.users.FileUserRealmTest
✅ testFileUserRealmRefresh
✅ testFileRelativePath
✅ testFileUserRealm
Annotations
github-actions / Maven Tests
org.carapaceproxy.ApplyConfigurationTest ► testChangeBackendHealthManagerConfiguration
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
at org.carapaceproxy.core.HttpProxyServer.<init>(HttpProxyServer.java:265)
at org.carapaceproxy.ApplyConfigurationTest.testChangeBackendHealthManagerConfiguration(ApplyConfigurationTest.java:378)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.ApplyConfigurationTest ► testChangeFiltersConfiguration
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
at org.carapaceproxy.core.HttpProxyServer.<init>(HttpProxyServer.java:265)
at org.carapaceproxy.ApplyConfigurationTest.testChangeFiltersConfiguration(ApplyConfigurationTest.java:339)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.ApplyConfigurationTest ► testUserRealm
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
at org.carapaceproxy.core.HttpProxyServer.<init>(HttpProxyServer.java:265)
at org.carapaceproxy.ApplyConfigurationTest.testUserRealm(ApplyConfigurationTest.java:292)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.ApplyConfigurationTest ► testReloadMapper
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
at org.carapaceproxy.core.HttpProxyServer.<init>(HttpProxyServer.java:265)
at org.carapaceproxy.ApplyConfigurationTest.testReloadMapper(ApplyConfigurationTest.java:220)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.ApplyConfigurationTest ► testChangeListenersConfig
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml
Error:
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.carapaceproxy.server.mapper.EndpointMapper$Factory.build(org.carapaceproxy.core.HttpProxyServer)" because "mapperFactory" is null
at org.carapaceproxy.core.HttpProxyServer.<init>(HttpProxyServer.java:265)
at org.carapaceproxy.ApplyConfigurationTest.testChangeListenersConfig(ApplyConfigurationTest.java:93)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.ConnectionPoolTest ► testAPIResource
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ConnectionPoolTest.xml
Error:
org.junit.ComparisonFailure:
Raw output
org.junit.ComparisonFailure:
expected:<[it <b>works</b> !!]> but was:<[<html>
<body>
The requested resource was not found
</body>
</html>
]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.carapaceproxy.backends.ConnectionPoolTest.testAPIResource(ConnectionPoolTest.java:387)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.ConnectionPoolTest ► test
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ConnectionPoolTest.xml
Error:
org.junit.ComparisonFailure:
Raw output
org.junit.ComparisonFailure:
expected:<[it <b>works</b> !!]> but was:<[<html>
<body>
The requested resource was not found
</body>
</html>
]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.carapaceproxy.backends.ConnectionPoolTest.test(ConnectionPoolTest.java:321)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.ConnectionPoolTest ► hostHeaderTest
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ConnectionPoolTest.xml
Error:
java.lang.AssertionError:
Raw output
java.lang.AssertionError:
Expected: a string containing "it <b>works</b> !!"
but: was "HTTP/1.1 404 Not Foundcontent-length: 91cache-control: no-cacheconnection: close<html> <body> The requested resource was not found </body> </html>"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.carapaceproxy.backends.ConnectionPoolTest.hostHeaderTest(ConnectionPoolTest.java:175)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.StuckRequestsTest ► testBackendUnreachableOnStuckRequest(true) [0]
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.StuckRequestsTest.xml
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.StuckRequestsTest.xml
Error:
org.junit.ComparisonFailure:
Raw output
org.junit.ComparisonFailure:
expected:<HTTP/1.1 [500 Internal Server Error]
> but was:<HTTP/1.1 [404 Not Found]
>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.carapaceproxy.backends.StuckRequestsTest.testBackendUnreachableOnStuckRequest(StuckRequestsTest.java:113)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:234)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:40)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:146)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:446)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:393)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.UnreachableBackendTest ► testEmptyResponse[useCache = true]
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml
Error:
org.junit.ComparisonFailure:
Raw output
org.junit.ComparisonFailure:
expected:<HTTP/1.1 [503 Service Unavailable]
> but was:<HTTP/1.1 [404 Not Found]
>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.carapaceproxy.backends.UnreachableBackendTest.testEmptyResponse(UnreachableBackendTest.java:129)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
github-actions / Maven Tests
org.carapaceproxy.backends.UnreachableBackendTest ► testNonHttpResponseThenClose[useCache = true]
Failed test found in:
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml
Error:
org.junit.ComparisonFailure:
Raw output
org.junit.ComparisonFailure:
expected:<HTTP/1.1 [503 Service Unavailable]
> but was:<HTTP/1.1 [404 Not Found]
>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.carapaceproxy.backends.UnreachableBackendTest.testNonHttpResponseThenClose(UnreachableBackendTest.java:196)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:67)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)