Skip to content

Commit

Permalink
fix github workflows file
Browse files Browse the repository at this point in the history
  • Loading branch information
rarguelloF committed Jan 28, 2025
1 parent 7c87d09 commit 3234dc9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/unit-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ jobs:
image: redis:3.2
ports:
- 6379:6379
valkey:
image: valkey/valkey:8
ports:
- "6380:6380"
# https://valkey.io/topics/acl/
command: [ "valkey-server", "--port", "6380", "--requirepass", "password-for-default" ]
valkey:
image: valkey/valkey:8
env:
VALKEY_EXTRA_FLAGS: "--port 6380 --requirepass password-for-default"
ports:
- 6380:6380
elasticsearch2:
image: elasticsearch:2
env:
Expand Down
5 changes: 3 additions & 2 deletions contrib/valkey-go/valkey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ package valkey
import (
"context"
"fmt"
"gopkg.in/DataDog/dd-trace-go.v1/internal/globalconfig"
"os"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/valkey-io/valkey-go"

"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/ext"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/mocktracer"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
"gopkg.in/DataDog/dd-trace-go.v1/internal/globalconfig"
)

const (
Expand All @@ -44,7 +45,7 @@ func TestNewClient(t *testing.T) {
prevName := globalconfig.ServiceName()
defer globalconfig.SetServiceName(prevName)
globalconfig.SetServiceName("global-service")

tests := []struct {
name string
opts []Option
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ services:
- "6379:6379"
valkey:
image: valkey/valkey:8
environment:
VALKEY_EXTRA_FLAGS: "--port 6380 --requirepass password-for-default"
ports:
- "6380:6380"
# https://valkey.io/topics/acl/
command: [ "valkey-server", "--port", "6380", "--requirepass", "password-for-default" ]
elasticsearch2:
image: elasticsearch:2
environment:
Expand Down

0 comments on commit 3234dc9

Please sign in to comment.