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

Switch Rediscala to Redis official client Lettuce core #300

Closed
wants to merge 3 commits into from

Conversation

zhaodaye2022
Copy link
Contributor

RedisClusterSpec test ok
RedisStandaloneSpec test ok
RedisSentinelSpec test Ignored
RedisMasterSlavesSpec test fail ,I don't have the testing environment
Exception encountered when invoking run on a nested suite - org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.Ready to accept connections tcp.\n'
java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.Ready to accept connections tcp.\n'
at org.rnorth.ducttape.timeouts.Timeouts.callFuture(Timeouts.java:68)
at org.rnorth.ducttape.timeouts.Timeouts.doWithTimeout(Timeouts.java:60)
at org.testcontainers.containers.wait.strategy.WaitAllStrategy.waitUntilReady(WaitAllStrategy.java:54)
at org.testcontainers.containers.ComposeDelegate.waitUntilServiceStarted(ComposeDelegate.java:229)
at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603)
at org.testcontainers.containers.ComposeDelegate.waitUntilServiceStarted(ComposeDelegate.java:203)
at org.testcontainers.containers.ComposeContainer.start(ComposeContainer.java:140)
at com.dimafeng.testcontainers.DockerComposeContainer.start(DockerComposeContainer.scala:184)
at com.dimafeng.testcontainers.ContainerDef.start(ContainerDef.scala:14)
at com.dimafeng.testcontainers.ContainerDef.start$(ContainerDef.scala:12)
at com.dimafeng.testcontainers.DockerComposeContainer$Def.start(DockerComposeContainer.scala:88)
at play.api.cache.redis.test.ForAllTestContainer.beforeAll(ForAllTestContainer.scala:23)
at play.api.cache.redis.test.ForAllTestContainer.beforeAll$(ForAllTestContainer.scala:22)
at play.api.cache.redis.connector.RedisMasterSlavesSpec.beforeAll(RedisMasterSlavesSpec.scala:12)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at play.api.cache.redis.connector.RedisMasterSlavesSpec.run(RedisMasterSlavesSpec.scala:12)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:47)
at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1321)
at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1315)
at scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1315)
at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:992)
at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:970)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1481)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:970)
at org.scalatest.tools.Runner$.run(Runner.scala:798)
at org.scalatest.tools.Runner.run(Runner.scala)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2or3(ScalaTestRunner.java:43)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:26)
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.Ready to accept connections tcp.\n'
at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at org.testcontainers.containers.wait.strategy.WaitAllStrategy.waitUntilNestedStrategiesAreReady(WaitAllStrategy.java:66)
at org.testcontainers.containers.wait.strategy.WaitAllStrategy.lambda$waitUntilReady$0(WaitAllStrategy.java:58)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Copy link
Owner

@KarelCemus KarelCemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, nice PR, thank you for your contribution. I have two questions, if you wouldn't mind answering these, I would take over and finish it.

build.sbt Show resolved Hide resolved
@zhaodaye2022
Copy link
Contributor Author

zhaodaye2022 commented Apr 30, 2024

How is the progress of this PR? I have updated some configuration logic on this PR in the future. Do you need to merge it
591dd3b

@KarelCemus
Copy link
Owner

KarelCemus commented Apr 30, 2024

Hey, sorry for delay, these two weeks were very difficult for me. I already took a look and started on it, it just needs a bit more of my time, I'll try to do it by end of this week, I hope.

@zhaodaye2022
Copy link
Contributor Author

Thank you very much for your work

@KarelCemus
Copy link
Owner

Closing this in favor of #301

@KarelCemus KarelCemus closed this May 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants