Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekshenawa committed Dec 26, 2023
1 parent 34ac968 commit a3265e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test-redis-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

# - name: Install Docker-compose
# run: |
# DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
# mkdir -p $DOCKER_CONFIG/cli-plugins
# curl -SL https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose

- name: Build cluster
env:
IMAGE: "redislabs/redis-internal:${{ matrix.re-build }}"
Expand Down
6 changes: 5 additions & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"errors"
"fmt"
"sync"
"testing"
"time"

"github.com/redis/go-redis/v9"
Expand Down Expand Up @@ -656,7 +657,10 @@ func ExampleNewUniversalClient_cluster() {
rdb.Ping(ctx)
}

func ExampleClient_SlowLogGet() {
func ExampleClient_SlowLogGet(t *testing.T) {

Check failure on line 660 in example_test.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

ExampleClient_SlowLogGet should be niladic

Check failure on line 660 in example_test.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

ExampleClient_SlowLogGet should be niladic

Check failure on line 660 in example_test.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

ExampleClient_SlowLogGet should be niladic
if RECluster {
t.Skip("skip slowlog test for cluster")
}
const key = "slowlog-log-slower-than"

old := rdb.ConfigGet(ctx, key).Val()
Expand Down

0 comments on commit a3265e8

Please sign in to comment.