File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ jobs:
7272 # Set up Docker Compose environment
7373 - name : Set up Docker Compose environment
7474 run : |
75- docker compose --profile all up -d --build
75+ docker compose --profile all up -d
7676
7777 - name : Run tests
7878 env :
79- USE_PREBUILT_REDIS : " true"
79+ USE_CONTAINERIZED_REDIS : " true"
8080 RE_CLUSTER : " true"
8181 run : |
8282 go test \
Original file line number Diff line number Diff line change 4747 - name : Test
4848 env :
4949 RE_CLUSTER : " 1"
50- USE_PREBUILT_REDIS : " 1"
50+ USE_CONTAINERIZED_REDIS : " 1"
5151 run : |
5252 go test \
5353 --ginkgo.skip-file="ring_test.go" \
Original file line number Diff line number Diff line change 22
33services :
44
5- redis :
5+ redis-stanalone :
66 image : redislabs/client-libs-test:8.0-M02
77 container_name : redis-standalone
88 environment :
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ var cluster = &clusterScenario{
6666}
6767
6868var RECluster = false
69- var USE_PREBUILT_REDIS = false
69+ var USE_CONTAINERIZED_REDIS = false
7070
7171func registerProcess (port string , p * redisProcess ) {
7272 if processes == nil {
@@ -83,9 +83,8 @@ var _ = BeforeSuite(func() {
8383 }
8484 var err error
8585 RECluster , _ = strconv .ParseBool (os .Getenv ("RE_CLUSTER" ))
86- USE_PREBUILT_REDIS , _ = strconv .ParseBool (os .Getenv ("USE_PREBUILT_REDIS" ))
87- // panic("RECluster: " + strconv.FormatBool(RECluster) + " USE_PREBUILT_REDIS: " + strconv.FormatBool(USE_PREBUILT_REDIS))
88- if ! RECluster || ! USE_PREBUILT_REDIS {
86+ USE_CONTAINERIZED_REDIS , _ = strconv .ParseBool (os .Getenv ("USE_CONTAINERIZED_REDIS" ))
87+ if ! RECluster || ! USE_CONTAINERIZED_REDIS {
8988
9089 redisMain , err = startRedis (redisPort )
9190 Expect (err ).NotTo (HaveOccurred ())
You can’t perform that action at this time.
0 commit comments