Skip to content

Commit

Permalink
deps: Upgraded spring batch redis
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Mar 18, 2024
1 parent 2278698 commit 8d3c21a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.2.0-SNAPSHOT
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ latencyutilsVersion = 2.0.3
lettucemodVersion = 3.7.3
picocliVersion = 4.7.5
progressbarVersion = 0.10.0
springBatchRedisVersion = 4.0.5
springBatchRedisVersion = 4.0.6
testcontainersRedisVersion = 2.2.0

org.gradle.daemon = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.slf4j.simple.SimpleLogger;

import com.redis.riot.cli.AbstractJobCommand.ProgressStyle;
import com.redis.riot.redis.CompareMode;
import com.redis.riot.redis.ReplicationMode;
import com.redis.spring.batch.test.AbstractTargetTestBase;
import com.redis.testcontainers.RedisServer;
Expand Down Expand Up @@ -71,6 +72,7 @@ private int execute(TestInfo info, String name, ParseResult parseResult) {
}
if (command instanceof ReplicateCommand) {
ReplicateCommand replicationCommand = (ReplicateCommand) command;
replicationCommand.compareMode = CompareMode.NONE;
replicationCommand.targetRedisArgs.uri = getTargetRedisServer().getRedisURI();
if (replicationCommand.mode == ReplicationMode.LIVE
|| replicationCommand.mode == ReplicationMode.LIVEONLY) {
Expand Down

0 comments on commit 8d3c21a

Please sign in to comment.