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

panic in TestRealtimeConn_ReceiveTimeout #578

Closed
QuintinWillison opened this issue Jan 4, 2023 · 3 comments · Fixed by #613
Closed

panic in TestRealtimeConn_ReceiveTimeout #578

QuintinWillison opened this issue Jan 4, 2023 · 3 comments · Fixed by #613
Assignees
Labels
failing-test Where an automated test is failing either locally or in CI. Perhaps flakey, wrong or bug.

Comments

@QuintinWillison
Copy link
Contributor

QuintinWillison commented Jan 4, 2023

In this integration test run (JSON, Go 1.19):

=== RUN   TestRealtimeConn_ReceiveTimeout
--- FAIL: TestRealtimeConn_ReceiveTimeout (30.12s)
panic: Gateway Timeout [recovered]
	panic: Gateway Timeout

goroutine 1365687 [running]:
testing.tRunner.func1.2({0xca6960, 0xc000931f90})
	/opt/hostedtoolcache/go/1.19.4/x64/src/testing/testing.go:1396 +0x372
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.19.4/x64/src/testing/testing.go:1399 +0x5f0
panic({0xca6960, 0xc000931f90})
	/opt/hostedtoolcache/go/1.19.4/x64/src/runtime/panic.go:890 +0x262
github.com/ably/ably-go/ablytest.MustSandbox(0x1000000000000?)
	/home/runner/work/ably-go/ably-go/ablytest/sandbox.go:126 +0x72
github.com/ably/ably-go/ablytest.NewRealtime({0xc00049fd70, 0x3, 0x3})
	/home/runner/work/ably-go/ably-go/ablytest/sandbox.go:106 +0x52
github.com/ably/ably-go/ably_test.TestRealtimeConn_ReceiveTimeout(0xc0007f61a0)
	/home/runner/work/ably-go/ably-go/ably/realtime_conn_integration_test.go:153 +0x485
testing.tRunner(0xc0007f61a0, 0xd8e508)
	/opt/hostedtoolcache/go/1.19.4/x64/src/testing/testing.go:1446 +0x217
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.4/x64/src/testing/testing.go:1493 +0x75e
FAIL	github.com/ably/ably-go/ably	504.303s
?   	github.com/ably/ably-go/ably/internal/ablyutil	[no test files]
?   	github.com/ably/ably-go/ablytest	[no test files]
?   	github.com/ably/ably-go/examples	[no test files]
?   	github.com/ably/ably-go/examples/realtime/presence	[no test files]
?   	github.com/ably/ably-go/examples/realtime/pub-sub	[no test files]
?   	github.com/ably/ably-go/examples/rest/history	[no test files]
?   	github.com/ably/ably-go/examples/rest/presence	[no test files]
?   	github.com/ably/ably-go/examples/rest/publish	[no test files]
?   	github.com/ably/ably-go/examples/rest/stats	[no test files]
?   	github.com/ably/ably-go/examples/rest/status	[no test files]
?   	github.com/ably/ably-go/scripts/errors	[no test files]
FAIL
@QuintinWillison QuintinWillison added the failing-test Where an automated test is failing either locally or in CI. Perhaps flakey, wrong or bug. label Jan 4, 2023
@sync-by-unito
Copy link

sync-by-unito bot commented Jan 4, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3217

@sacOO7 sacOO7 self-assigned this Nov 8, 2023
@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 8, 2023

Internal link to gateway error related discussion -> https://ably-real-time.slack.com/archives/C030C5YLY/p1699224411576189

@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 8, 2023

Fixed as a part of e383770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failing-test Where an automated test is failing either locally or in CI. Perhaps flakey, wrong or bug.
Development

Successfully merging a pull request may close this issue.

2 participants