Skip to content

Commit

Permalink
test: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Oct 8, 2024
1 parent da52939 commit be82293
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions plugins/riot/src/test/java/com/redis/riot/StackRiotTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
import com.redis.lettucemod.timeseries.MRangeOptions;
import com.redis.lettucemod.timeseries.RangeResult;
import com.redis.lettucemod.timeseries.TimeRange;
import com.redis.riot.Replicate.CompareMode;
import com.redis.riot.core.Expression;
import com.redis.riot.core.ProgressStyle;
import com.redis.riot.core.QuietMapAccessor;
import com.redis.riot.file.xml.XmlItemReader;
import com.redis.riot.file.xml.XmlItemReaderBuilder;
Expand All @@ -71,22 +69,12 @@

class StackRiotTests extends RiotTests {

private static final RedisStackContainer source = RedisContainerFactory.stack();
private static final RedisStackContainer target = RedisContainerFactory.stack();

@Override
protected RedisStackContainer getRedisServer() {
return source;
}

@Override
protected RedisStackContainer getTargetRedisServer() {
return target;
}

public static final int BEER_CSV_COUNT = 2410;
public static final int BEER_JSON_COUNT = 216;

private static final RedisStackContainer source = RedisContainerFactory.stack();
private static final RedisStackContainer target = RedisContainerFactory.stack();

private static Path tempDir;

@BeforeAll
Expand All @@ -102,6 +90,16 @@ protected Path tempFile(String filename) throws IOException {
return path;
}

@Override
protected RedisStackContainer getRedisServer() {
return source;
}

@Override
protected RedisStackContainer getTargetRedisServer() {
return target;
}

protected static String name(Map<String, String> beer) {
return beer.get("name");
}
Expand Down

0 comments on commit be82293

Please sign in to comment.