Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l2 cache test is failing #10

Open
JoshuaCWebDeveloper opened this issue Dec 21, 2018 · 0 comments
Open

l2 cache test is failing #10

JoshuaCWebDeveloper opened this issue Dec 21, 2018 · 0 comments

Comments

@JoshuaCWebDeveloper
Copy link
Contributor

PR #9 fixes most of the failing tests; however, it leaves one test failing, as it is unclear whether l2 cache was supposed to be working or not, and it is an experimental feature.

Figure out why this test is failing:

test l2 cache configuration

Executed in 1.243 seconds.

Condition not satisfied: grid.cache('org.grails.ignite.Widget').size() == 1 | | | | | | 0 false | org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy@646ddc20 org.grails.ignite.IgniteContextBridge@5a941fb4

junit.framework.AssertionFailedError: Condition not satisfied:

grid.cache('org.grails.ignite.Widget').size() == 1
|    |                                 |      |
|    |                                 0      false
|    org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy@646ddc20
org.grails.ignite.IgniteContextBridge@5a941fb4

	at org.grails.ignite.ConfigurationIntegrationSpec.test l2 cache configuration(ConfigurationIntegrationSpec.groovy:61)
System output

[atomicCache, transactionalCache, org.hibernate.cache.spi.UpdateTimestampsCache, org.grails.ignite.Widget, test_partitioned, test_replicated, org.hibernate.cache.internal.StandardQueryCache]
org.grails.ignite.Widget : 1
Statistics[start time=1545422884556,sessions opened=1,sessions closed=0,transactions=2,successful transactions=0,optimistic lock failures=0,flushes=0,connections obtained=3,statements prepared=2,statements closed=0,second level cache puts=0,second level cache hits=0,second level cache misses=1,entities loaded=1,entities updated=0,entities inserted=1,entities deleted=0,entities fetched=0,collections loaded=0,collections updated=0,collections removed=0,collections recreated=0,collections fetched=0,naturalId queries executed to database=0,naturalId cache puts=0,naturalId cache hits=0,naturalId cache misses=0,naturalId max query time=0,queries executed to database=0,query cache puts=0,query cache hits=0,query cache misses=0,update timestamps cache puts=0,update timestamps cache hits=0,update timestamps cache misses=0,max query time=0]
[org.grails.ignite.Widget:SecondLevelCacheStatistics[hitCount=0,missCount=1,putCount=0,elementCountInMemory=0,elementCountOnDisk=-1,sizeInMemory=-1]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant