This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 382694271e6 Camel-Jcache: Fixed tests after CAMEL-19833 (#11358)
382694271e6 is described below

commit 382694271e6f81a38b3dc853820e09cca5633dc1
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Sep 11 09:22:37 2023 +0200

    Camel-Jcache: Fixed tests after CAMEL-19833 (#11358)
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../org/apache/camel/component/jcache/JCacheConfigurationTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
 
b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
index 4c3c3f0cc2c..047f3ad38b5 100644
--- 
a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
+++ 
b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
@@ -43,11 +43,11 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class JCacheConfigurationTest extends JCacheComponentTestSupport {
 
     @BindToRegistry("myExpiryPolicyFactory")
-    private static final Factory<ExpiryPolicy> EXPIRY_POLICY_FACTORY = 
AccessedExpiryPolicy.factoryOf(Duration.ONE_MINUTE);
+    public static final Factory<ExpiryPolicy> EXPIRY_POLICY_FACTORY = 
AccessedExpiryPolicy.factoryOf(Duration.ONE_MINUTE);
     @BindToRegistry("myCacheWriterFactory")
-    private static final Factory<CacheWriter<Object, Object>> 
CACHE_WRITER_FACTORY = MyCacheWriter.factory();
+    public static final Factory<CacheWriter<Object, Object>> 
CACHE_WRITER_FACTORY = MyCacheWriter.factory();
     @BindToRegistry("myCacheLoaderFactory")
-    private static final Factory<CacheLoader<Object, Object>> 
CACHE_LOADER_FACTORY = MyCacheLoader.factory();
+    public static final Factory<CacheLoader<Object, Object>> 
CACHE_LOADER_FACTORY = MyCacheLoader.factory();
 
     @EndpointInject(value = "jcache://test-cache" + 
"?expiryPolicyFactory=#myExpiryPolicyFactory"
                             + "&cacheWriterFactory=#myCacheWriterFactory"

Reply via email to