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

JRedisClient-tests error #61

Closed
SamPeng87 opened this issue Mar 6, 2012 · 2 comments
Closed

JRedisClient-tests error #61

SamPeng87 opened this issue Mar 6, 2012 · 2 comments

Comments

@SamPeng87
Copy link

JRedisClient-tests 94 1 0
testInfo Test class: org.jredis.ri.alphazero.JRedisClientTest
java.lang.AssertionError: expected object to not be null
at org.jredis.ri.alphazero.JRedisProviderTestsBase.testInfo(JRedisProviderTestsBase.java:3046)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:160)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:100)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
... Removed 29 stack frames

what happen?

@alphazero
Copy link
Owner

You are not using the correct version of Redis. Read
redis_compliance.txt.

On Mon, 5 Mar 2012 22:51:13 -0800, SamPeng87 wrote:

JRedisClient-tests 94 1 0
testInfo Test class: org.jredis.ri.alphazero.JRedisClientTest
java.lang.AssertionError: expected object to not be null
at

org.jredis.ri.alphazero.JRedisProviderTestsBase.testInfo(JRedisProviderTestsBase.java:3046)
at

org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at

org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:160)
at

org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:100)
at

org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
at

org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at

org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at

org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at

org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
... Removed 29 stack frames

what happen?


Reply to this email directly or view it on GitHub:
#61

@alphazero
Copy link
Owner

FYI for anyone else with this issue: Tests for INFO are strictly looking for a few named values that were deprecated in later Redis versions. The test fails but it does not indicate error in the client (e.g. you can use it with that version of Redis) but to perfectly correct about matching client to Redis, refer to the top level redis_compliance.txt file.

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

2 participants