File tree Expand file tree Collapse file tree
redisbloom/src/test/java/io/github/dengliming/redismodule/redisbloom Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 --health-retries 5
3131 ports :
3232 - 52568:6379
33+ rebloom :
34+ image : redislabs/rebloom:edge
35+ options : >-
36+ --health-cmd "redis-cli ping"
37+ --health-interval 10s
38+ --health-timeout 5s
39+ --health-retries 5
40+ ports :
41+ - 6379:6379
3342 steps :
3443 - uses : actions/checkout@v2
3544 - name : Set up JDK 1.8
4453 restore-keys : |
4554 ${{ runner.os }}-maven-
4655 - name : Build with Maven
47- run : mvn clean install -DREDIS_HOST=localhost -DREDIS_PORT=52567 -DREDISAI_PORT=52568 -Dgpg.skip --file pom.xml
56+ run : mvn clean install -DREDIS_HOST=localhost -DREDIS_PORT=52567 -DREDISAI_PORT=52568 -DREDISBLOOM_PORT=6379 - Dgpg.skip --file pom.xml
4857 - uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2020 dengliming.
2+ * Copyright 2020-2022 dengliming.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -32,7 +32,8 @@ public abstract class AbstractTest {
3232 @ BeforeEach
3333 public void init () {
3434 Config config = new Config ();
35- config .useSingleServer ().setAddress ("redis://" + TestSettings .host () + ":" + TestSettings .port ());
35+ config .useSingleServer ().setAddress ("redis://" + TestSettings .host () + ":" + System .getProperty ("REDISBLOOM_PORT"
36+ , TestSettings .port () + "" ));
3637 redisBloomClient = new RedisBloomClient (config );
3738 redisBloomClient .flushall ();
3839 }
You can’t perform that action at this time.
0 commit comments