Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky TestRedisClient #2682

Open
AlexanderYastrebov opened this issue Oct 16, 2023 · 1 comment
Open

Flaky TestRedisClient #2682

AlexanderYastrebov opened this issue Oct 16, 2023 · 1 comment

Comments

@AlexanderYastrebov
Copy link
Member

--- FAIL: TestRedisClient (1.63s)
    redistest.go:50: Started redis server at localhost:32778 in 597.485911ms
    redistest.go:50: Started redis server at localhost:32779 in 466.614842ms
    --- FAIL: TestRedisClient/With_AddrUpdater (0.06s)
        redisclient_test.go:203: expected no updater call
    redistest.go:57: Stopping redis server at localhost:32779
    redistest.go:57: Stopping redis server at localhost:32778
@szuecs
Copy link
Member

szuecs commented Nov 6, 2023

This seems also an issue related to testcontainers, instead being on redis client.

2023/11/06 12:05:33 ✅ Container started: c9796a3a5a3f
2023/11/06 12:05:33 🚧 Waiting for container id c9796a3a5a3f image: redis:6-alpine. Waiting for: &{timeout:<nil> Log:* Ready to accept connections IsRegexp:false Occurrence:1 PollInterval:100ms}
2023/11/06 12:05:53 failed accessing container logs: %!w(errdefs.errDeadline={0xc000295ce0})
--- FAIL: TestRedisClientSetAddr (20.03s)
    redistest.go:39: Failed to start redis server: context deadline exceeded: failed to start container
FAIL
noleak: 1 active

goroutine 792 [chan receive]:
github.com/testcontainers/testcontainers-go.(*Reaper).Connect.func1({0xf8c478?, 0xc000074350})
	/go/pkg/mod/github.com/testcontainers/testcontainers-go@v0.25.0/reaper.go:304 +0x74e
created by github.com/testcontainers/testcontainers-go.(*Reaper).Connect in goroutine 756
	/go/pkg/mod/github.com/testcontainers/testcontainers-go@v0.25.0/reaper.go:269 +0x185

Try setting GODEBUG=tracebackancestors=10 (or more), see https://pkg.go.dev/runtime#hdr-Environment_Variables
FAIL	github.com/zalando/skipper/net	40.874s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants