[JBoss JIRA] (ISPN-7389) Fix ExampleConfigsIT.testSSLHotRodConfig
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7389?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7389:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.CR1
Resolution: Done
> Fix ExampleConfigsIT.testSSLHotRodConfig
> ----------------------------------------
>
> Key: ISPN-7389
> URL: https://issues.jboss.org/browse/ISPN-7389
> Project: Infinispan
> Issue Type: Bug
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Priority: Blocker
> Fix For: 9.0.0.CR1
>
>
> http://ci.infinispan.org/viewLog.html?buildId=48419&tab=buildResultsDiv&b...
> {noformat}
> java.lang.RuntimeException: Could not retrieve HotRod host
> at org.infinispan.arquillian.utils.MBeanUtils.getMBeanAttribute(MBeanUtils.java:59)
> at org.infinispan.arquillian.core.HotRodEndpoint.getInetAddress(HotRodEndpoint.java:65)
> at org.infinispan.server.test.configs.ExampleConfigsIT.securityConfig(ExampleConfigsIT.java:616)
> at org.infinispan.server.test.configs.ExampleConfigsIT.testSSLHotRodConfig(ExampleConfigsIT.java:358)
> Caused by: javax.management.InstanceNotFoundException: jboss.datagrid-infinispan:type=Server,name=HotRod,component=Transport
> at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1110)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:386)
> at org.jboss.as.jmx.BlockingNotificationMBeanServer.getAttribute(BlockingNotificationMBeanServer.java:148)
> at org.jboss.remotingjmx.protocol.v2.ServerProxy$GetAttributeHandler.handle(ServerProxy.java:689)
> at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:75)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:70)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:422)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
> at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:70)
> at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test succeeded: ExampleConfigsIT.testTopologyConfigSiteAttribute
> [TestSuiteProgress] Tests succeeded: 165, failed: 1, skipped: 10
> [TestSuiteProgress] Test starting: ExampleConfigsIT.testSSLHotRodConfig
> [0m08:11:03,018 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
> [0m[0m08:11:03,188 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
> [0m[0m08:11:03,267 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) starting
> [0m[0m08:11:04,195 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
> [0m[0m08:11:04,219 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Final
> [0m[0m08:11:04,225 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Final
> [0m[0m08:11:04,263 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.21.Final
> [0m[0m08:11:04,275 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) Activating Infinispan subsystem.
> [0m[0m08:11:04,319 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 21) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
> [0m[0m08:11:04,361 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 18) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
> [0m[33m08:11:04,374 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 29) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
> [0m[0m08:11:04,376 INFO [org.jboss.as.security] (ServerService Thread Pool -- 27) WFLYSEC0002: Activating Security Subsystem
> [0m[0m08:11:04,384 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 25) WFLYNAM0001: Activating Naming Subsystem
> [0m[0m08:11:04,391 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
> [0m[0m08:11:04,417 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2
> [0m[0m08:11:04,481 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.6.Final
> [0m[0m08:11:04,489 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
> [0m[0m08:11:04,909 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/buildAgent/work/4107e96132ab99f9/server/integration/testsuite/target/server/node1/standalone/deployments
> [0m[0m08:11:04,931 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "custom-store.jar" (runtime-name: "custom-store.jar")
> [0m[0m08:11:05,248 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
> [0m[0m08:11:05,595 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Ruppaner' 9.0.0-SNAPSHOT
> &#27;[0m&#27;[0m08:11:05,999 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-3) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,000 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) DGISPN0001: Started default cache from local container
> &#27;[0m&#27;[0m08:11:06,004 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-1) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,004 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) DGISPN0001: Started namedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,011 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-2) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
> &#27;[0m&#27;[0m08:11:06,011 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) DGISPN0001: Started memcachedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10000: HotRodServer hotrod2 starting
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10033: Starting server HotRodServer hotrod2 without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,174 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10001: HotRodServer hotrod2 listening on None
> &#27;[0m&#27;[0m08:11:06,201 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10000: rest2 starting
> &#27;[0m&#27;[0m08:11:06,201 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: rest1 starting
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,205 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10002: rest1 mapped to /rest
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: HotRodServer hotrod1 starting
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server HotRodServer hotrod1 without transport (use multi tenant router instead)
> &#27;[0m&#27;[0m08:11:06,206 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10001: HotRodServer hotrod1 listening on None
> &#27;[0m&#27;[0m08:11:06,210 INFO [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10002: rest2 mapped to /rest
> &#27;[0m&#27;[0m08:11:06,268 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0007: Registering Deployed Cache Store service for store 'org.infinispan.persistence.cluster.MyCustomCacheStore'
> &#27;[0m&#27;[31m08:11:06,278 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("router-connector" => "router")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => [
> "jboss.server.controller.management.security_realm.other",
> "jboss.server.controller.management.security_realm.other2"
> ],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.router.router is missing [jboss.server.controller.management.security_realm.other, jboss.server.controller.management.security_realm.other2]"]
> }
> &#27;[0m&#27;[0m08:11:06,303 INFO [org.jboss.as.server] (ServerService Thread Pool -- 17) WFLYSRV0010: Deployed "custom-store.jar" (runtime-name : "custom-store.jar")
> &#27;[0m&#27;[0m08:11:06,306 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0184: New missing/unsatisfied dependencies:
> service jboss.server.controller.management.security_realm.other (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> service jboss.server.controller.management.security_realm.other2 (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> &#27;[0m&#27;[0m08:11:06,380 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
> &#27;[0m&#27;[0m08:11:06,380 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
> &#27;[0m&#27;[31m08:11:06,380 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) started (with errors) in 3666ms - Started 179 of 191 services (1 services failed or missing dependencies, 54 services are lazy, passive or on-demand)
> &#27;[0m&#27;[0m08:11:06,553 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0236: Suspending server with no timeout.
> &#27;[0m&#27;[0m08:11:06,556 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
> &#27;[0m&#27;[0m08:11:06,573 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped namedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,576 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped memcachedCache cache from local container
> &#27;[0m&#27;[0m08:11:06,577 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
> &#27;[0m&#27;[0m08:11:06,585 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped default cache from local container
> &#27;[0m&#27;[0m08:11:06,591 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
> &#27;[0m&#27;[0m08:11:06,602 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment custom-store.jar (runtime-name: custom-store.jar) in 37ms
> &#27;[0m&#27;[0m08:11:06,614 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) stopped in 50ms
> &#27;[0m
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7393) Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7393?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7393:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.CR1
Resolution: Done
> Failed to properly start Hot Rod endpoint with the provided standalone-hotrod-ssl.xml
> -------------------------------------------------------------------------------------
>
> Key: ISPN-7393
> URL: https://issues.jboss.org/browse/ISPN-7393
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Beta2
> Reporter: Gustavo Fernandes
> Assignee: Sebastian Łaskawiec
> Fix For: 9.0.0.CR1
>
> Attachments: keystore_client.jks, keystore_server.jks, truststore_client.jks, truststore_server.jks
>
>
> {noformat}
> 2017-01-24 15:20:57,033 INFO [org.infinispan.server.endpoint] (MSC service thread 1-6) DGENDPT10002: rest2 mapped to /rest
> 2017-01-24 15:20:57,034 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4) DGENDPT10002: rest1 mapped to /rest
> 2017-01-24 15:20:57,080 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("router-connector" => "router")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => [
> "jboss.server.controller.management.security_realm.other",
> "jboss.server.controller.management.security_realm.other2"
> ],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.router.router is missing [jboss.server.controller.management.security_realm.other2, jboss.server.controller.management.security_realm.other]"]
> }
> 2017-01-24 15:20:57,119 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0184: New missing/unsatisfied dependencies:
> service jboss.server.controller.management.security_realm.other (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> service jboss.server.controller.management.security_realm.other2 (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7129) Duplicate cache names shouldn't be allowed
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7129?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7129:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.CR1
Resolution: Done
> Duplicate cache names shouldn't be allowed
> ------------------------------------------
>
> Key: ISPN-7129
> URL: https://issues.jboss.org/browse/ISPN-7129
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 9.0.0.Alpha2
> Reporter: Jakub Markos
> Assignee: Jakub Markos
> Fix For: 9.0.0.CR1
>
>
> Multiple caches with the same name can be defined without a WARN/ERROR message.
> It's also unclear which one will be used, for example with this configuration
> {code}
> <distributed-cache name="testCache"/>
> <distributed-cache name="testCache">
> <eviction max-entries="100" />
> </distributed-cache>
> <distributed-cache name="testCache"/>
> {code}
> -the cache with eviction will be used.- Actually the configurations are merged...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7400) Cache segment ownership information in DistributionManager
by Dan Berindei (JIRA)
Dan Berindei created ISPN-7400:
----------------------------------
Summary: Cache segment ownership information in DistributionManager
Key: ISPN-7400
URL: https://issues.jboss.org/browse/ISPN-7400
Project: Infinispan
Issue Type: Task
Components: Core
Affects Versions: 9.0.0.Beta2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Beta3
ISPN-7029 introduced {{DistributionInfo}} to simplify limit the number of times we compute the location of a given key. We can go further and cache the {{DistributionInfo}} of each segment in {{DistributionManager}}, so that each operation only needs to compute the segment of its key.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7370) Administration console - configuration of cache store is broken
by Roman Macor (JIRA)
[ https://issues.jboss.org/browse/ISPN-7370?page=com.atlassian.jira.plugin.... ]
Roman Macor reopened ISPN-7370:
-------------------------------
[~vblagojevic] I can reproduce this with both Beta2 and snapshot.
> Administration console - configuration of cache store is broken
> ---------------------------------------------------------------
>
> Key: ISPN-7370
> URL: https://issues.jboss.org/browse/ISPN-7370
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Fix For: 9.0.0.Beta3
>
> Attachments: Screenshot from 2017-01-19.png
>
>
> Click on cache container -> cache -> configuration -> Store -> Select store type e.g. Binary keyed JDBC store
> Issues:
> some property names are displayed like this: {{$ctrl.resolveFieldName()}}
> ... links (for Write Behind for example) are not working
> Please see the attached screenshot for details.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7399) Make visitCommand return an Object instead of an InvocationStage
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7399?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7399:
-------------------------------
Status: Open (was: New)
> Make visitCommand return an Object instead of an InvocationStage
> ----------------------------------------------------------------
>
> Key: ISPN-7399
> URL: https://issues.jboss.org/browse/ISPN-7399
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.0.0.Beta3
>
>
> Replicated read benchmarks show a significant amount of time spent in {{BasicInvocationStage.toInvocationStage()}}.
> We can make {{visitCommand}} return an {{Object}} instead of an {{InvocationStage}}, and that return value can be cast to an {{InvocationStage}} when a callback is needed. We can't call {{thenApply()}} etc. directly on an {{Object}}, but we can combine {{invokeNext(ctx, command).thenApply(function)}} into {{invokeNextThenApply(ctx, command, function)}}.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7397) Replace use of shared SingleFileStore with DummyInMemoryStore
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-7397?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-7397:
-------------------------------
Description:
ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
-Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
was:
ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail.
> Replace use of shared SingleFileStore with DummyInMemoryStore
> -------------------------------------------------------------
>
> Key: ISPN-7397
> URL: https://issues.jboss.org/browse/ISPN-7397
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
> -Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7397) Replace use of shared SingleFileStore with DummyInMemoryStore
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-7397?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-7397:
-------------------------------
Description:
ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
-Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
The DummyInMemoryStore should be used instead.
was:
ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
-Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
> Replace use of shared SingleFileStore with DummyInMemoryStore
> -------------------------------------------------------------
>
> Key: ISPN-7397
> URL: https://issues.jboss.org/browse/ISPN-7397
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
> -Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail. -
> The DummyInMemoryStore should be used instead.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7397) Replace use of shared SingleFileStore with DummyInMemoryStore
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-7397?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-7397:
-------------------------------
Summary: Replace use of shared SingleFileStore with DummyInMemoryStore (was: Create SharedSingleFileStore for testing)
> Replace use of shared SingleFileStore with DummyInMemoryStore
> -------------------------------------------------------------
>
> Key: ISPN-7397
> URL: https://issues.jboss.org/browse/ISPN-7397
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> ISPN-7286 introduced the @Store annotation, which prevents non-shareable stores from being configured as shareable. The SingleFileStore is a non-shareable store, however its exploited by certain tests with its shared configuration set to true. With the introduction of @Store, the aforementioned tests now fail with an error stating that the SingleFileStore cannot be shared.
> Therefore, it is necessary to create a SharedSingleFileStore solely for testing purposes which simply wraps the SingleFileStore and associated configurations, so that the existing tests which rely on a shared SingleFileStore do not fail.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months