Skip to content

feat(server): add DELETE API for Carapace certificates #620

feat(server): add DELETE API for Carapace certificates

feat(server): add DELETE API for Carapace certificates #620

GitHub Actions / Maven Tests failed Jun 4, 2024 in 1s

179 passed, 1 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.AuthenticationAPIServerTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ClusterReconfigTest.xml 1✅ 146s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConfigResourceTest.xml 2✅ 24s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConnectionPoolsResourceTest.xml 5✅ 30s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.StartAPIServerTest.xml 15✅ 79s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ApplyConfigurationTest.xml 5✅ 28s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ChunckedEncodingRequestsTest.xml 2✅ 11s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ChunkedEncodingResponseTest.xml 6✅ 31s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.ConnectionPoolTest.xml 3✅ 19s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.RestartEndpointTest.xml 3✅ 16s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.StuckRequestsTest.xml 2✅ 12s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml 8✅ 42s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.BigUploadTest.xml 2✅ 11s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.cluster.impl.ZooKeeperGroupMembershipHandlerTest.xml 3✅ 51s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.cluster.impl.ZookKeeperACLTest.xml 1✅ 21s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.ConcurrentClientsTest.xml 1✅ 7s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.configstore.ConfigurationStoreTest.xml 7✅ 4s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.configstore.ConfigurationStoreUtilsTest.xml 2✅ 1s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.JettyHttpTraceMethodTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.ManagersExecutionTest.xml 2✅ 3s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.MaxHeaderSizeTest.xml 1✅ 7s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.RequestsLoggerTest.xml 3✅ 13s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.DatabaseConfigurationTest.xml 1✅ 1⚪ 7s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.ListenerConfigurationTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.MultiListeningEndpointTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.SSLSNITest.xml 3✅ 26s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.MaintenanceModeTest.xml 2✅ 12s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.RawClientTest.xml 13✅ 142s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.RealBackendsTest.xml 1⚪ 58ms
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheContentLengthLimitTest.xml 1✅ 1❌ 26s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheExpireTest.xml 5✅ 31s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheTest.xml 12✅ 62s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CaffeineCacheImplTest.xml 3✅ 3s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.NotModifiedTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.CertificatesTest.xml 10✅ 56s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.CertificatesUtilsTest.xml 2✅ 2s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.certificates.DynamicCertificatesManagerTest.xml 25✅ 16s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.SimpleFiltersTest.xml 2✅ 524ms
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XForwardedForFilterTest.xml 2✅ 11s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XTlsCipherFilterTest.xml 1✅ 16s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.filters.XTlsProtocolFilterTest.xml 1✅ 21s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest.xml 7✅ 48s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.ForceBackendTest.xml 1✅ 6s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.HealthCheckTest.xml 1✅ 1s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.requestmatcher.RequestMatcherTest.xml 2✅ 509ms
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.SimpleHTTPProxyTest.xml 3✅ 16s
carapace-server/target/surefire-reports/TEST-org.carapaceproxy.users.FileUserRealmTest.xml 3✅ 16s

✅ 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 146s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.api.ClusterReconfigTest 1✅ 146s

✅ org.carapaceproxy.api.ClusterReconfigTest

✅ testReconfigInClusterMode

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConfigResourceTest.xml

2 tests were completed in 24s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.api.ConfigResourceTest 2✅ 24s

✅ org.carapaceproxy.api.ConfigResourceTest

✅ testReconfig
✅ testDynamicConfigurationDumpingAndApplying

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.api.ConnectionPoolsResourceTest.xml

5 tests were completed in 30s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.api.ConnectionPoolsResourceTest 5✅ 30s

✅ 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 28s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.ApplyConfigurationTest 5✅ 28s

✅ org.carapaceproxy.ApplyConfigurationTest

✅ testChangeBackendHealthManagerConfiguration
✅ testChangeFiltersConfiguration
✅ testUserRealm
✅ testReloadMapper
✅ testChangeListenersConfig

✅ 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 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.backends.ConnectionPoolTest 3✅ 19s

✅ org.carapaceproxy.backends.ConnectionPoolTest

✅ testAPIResource
✅ test
✅ hostHeaderTest

✅ 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 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.backends.StuckRequestsTest 2✅ 12s

✅ org.carapaceproxy.backends.StuckRequestsTest

✅ testBackendUnreachableOnStuckRequest(true) [0]
✅ testBackendUnreachableOnStuckRequest(false) [1]

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.backends.UnreachableBackendTest.xml

8 tests were completed in 42s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.backends.UnreachableBackendTest 8✅ 42s

✅ org.carapaceproxy.backends.UnreachableBackendTest

✅ testEmptyResponse[0]
✅ testWithUnreachableBackend[0]
✅ testNonHttpResponseThenClose[0]
✅ testConnectionResetByPeer[0]
✅ testEmptyResponse[1]
✅ testWithUnreachableBackend[1]
✅ testNonHttpResponseThenClose[1]
✅ testConnectionResetByPeer[1]

✅ 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 7s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.ConcurrentClientsTest 1✅ 7s

✅ org.carapaceproxy.ConcurrentClientsTest

✅ test

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.configstore.ConfigurationStoreTest.xml

7 tests were completed in 4s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.configstore.ConfigurationStoreTest 7✅ 4s

✅ 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.core.JettyHttpTraceMethodTest.xml

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.core.JettyHttpTraceMethodTest 1✅ 6s

✅ org.carapaceproxy.core.JettyHttpTraceMethodTest

✅ httpTraceMethodTest

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.ManagersExecutionTest.xml

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.core.ManagersExecutionTest 2✅ 3s

✅ org.carapaceproxy.core.ManagersExecutionTest

✅ testBackendHealthManagerExecution
✅ testDynamicCertificatesManagerExecution

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.MaxHeaderSizeTest.xml

1 tests were completed in 7s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.core.MaxHeaderSizeTest 1✅ 7s

✅ org.carapaceproxy.core.MaxHeaderSizeTest

✅ test

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.core.RequestsLoggerTest.xml

3 tests were completed in 13s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.core.RequestsLoggerTest 3✅ 13s

✅ org.carapaceproxy.core.RequestsLoggerTest

✅ testAccessLogRotation
✅ test
✅ testWithServer

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.DatabaseConfigurationTest.xml

2 tests were completed in 7s with 1 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.DatabaseConfigurationTest 1✅ 1⚪ 7s

✅ org.carapaceproxy.DatabaseConfigurationTest

⚪ testChangeFiltersConfiguration
✅ testBootWithDatabaseStore

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.listeners.ListenerConfigurationTest.xml

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.listeners.ListenerConfigurationTest 1✅ 6s

✅ org.carapaceproxy.listeners.ListenerConfigurationTest

✅ testListenerKeepAliveConfiguration

✅ 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 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.MaintenanceModeTest 2✅ 12s

✅ org.carapaceproxy.MaintenanceModeTest

✅ test
✅ maintenanceModeApiTest

✅ 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 58ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.RealBackendsTest 1⚪ 58ms

✅ org.carapaceproxy.RealBackendsTest

⚪ testRequestsRealBackend

❌ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheContentLengthLimitTest.xml

2 tests were completed in 26s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.cache.CacheContentLengthLimitTest 1✅ 1❌ 26s

❌ org.carapaceproxy.server.cache.CacheContentLengthLimitTest

❌ testWithContentLengthHeader
	java.lang.AssertionError:
✅ 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 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.certificates.CertificatesTest 10✅ 56s

✅ org.carapaceproxy.server.certificates.CertificatesTest

✅ testCreateCertificateFromUI
✅ testWildcardsCertificates
✅ testOCSP
✅ test
✅ testUploadTypedCertificatesWithDaysBeforeRenewal(acme) [0]
✅ testUploadTypedCertificatesWithDaysBeforeRenewal(manual) [1]
✅ testUploadTypedCertificate(acme) [0]
✅ testUploadTypedCertificate(manual) [1]
✅ testLocalCertificatesStoring
✅ testCertificatesRenew

✅ 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 524ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.filters.SimpleFiltersTest 2✅ 524ms

✅ 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 48s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest 7✅ 48s

✅ org.carapaceproxy.server.mapper.BasicStandardEndpointMapperTest

✅ testActionRedirect
✅ testCustomAndDebuggingHeaders
✅ testServeACMEChallengeToken
✅ testAlwaysServeStaticContent
✅ test
✅ testDefaultRoute
✅ testRouteErrors

✅ carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.mapper.ForceBackendTest.xml

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.mapper.ForceBackendTest 1✅ 6s

✅ org.carapaceproxy.server.mapper.ForceBackendTest

✅ test

✅ 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 509ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.carapaceproxy.server.mapper.requestmatcher.RequestMatcherTest 2✅ 509ms

✅ 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

Check failure on line 156 in carapace-server/src/test/java/org/carapaceproxy/server/cache/CacheContentLengthLimitTest.java

See this annotation in the file changed.

@github-actions github-actions / Maven Tests

org.carapaceproxy.server.cache.CacheContentLengthLimitTest ► testWithContentLengthHeader

Failed test found in:
  carapace-server/target/surefire-reports/TEST-org.carapaceproxy.server.cache.CacheContentLengthLimitTest.xml
Error:
  java.lang.AssertionError: 
Raw output
java.lang.AssertionError: 

Expected: is <1>
     but: was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at org.carapaceproxy.server.cache.CacheContentLengthLimitTest.requestAndTestCached(CacheContentLengthLimitTest.java:156)
	at org.carapaceproxy.server.cache.CacheContentLengthLimitTest.testFileSizeCache(CacheContentLengthLimitTest.java:112)
	at org.carapaceproxy.server.cache.CacheContentLengthLimitTest.testWithContentLengthHeader(CacheContentLengthLimitTest.java:65)
	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$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)