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

Failing tests when running go test locally #243

Open
nathany-copia opened this issue Feb 23, 2023 · 0 comments
Open

Failing tests when running go test locally #243

nathany-copia opened this issue Feb 23, 2023 · 0 comments

Comments

@nathany-copia
Copy link

If I clone this repository and run the tests, I see several test failures. I took a look at ci.yml and I don't see a reason why these would fail unless:

  • My trial account has some difference with the key/secret vs. what's used in CI?
  • Something has changed, since CI hasn't ran these tests in a few months?
❯ STREAM_KEY={my api key} STREAM_SECRET={my secret} go test
--- FAIL: TestClient_UpdateAppSettings (0.25s)
    app_test.go:27: 
        	Error Trace:	app_test.go:27
        	Error:      	Received unexpected error:
        	            	UpdateApp failed with error: "production app can not have disable_auth_checks flag enabled"
        	Test:       	TestClient_UpdateAppSettings
--- FAIL: TestClient_DeleteUsers (12.00s)
    async_tasks_test.go:81: 
        	Error Trace:	async_tasks_test.go:81
        	Error:      	Should be true
        	Test:       	TestClient_DeleteUsers
        	Messages:   	task did not succeed

--- FAIL: TestClient_Devices (0.42s)
    device_test.go:23: 
        	Error Trace:	device_test.go:23
        	Error:      	Received unexpected error:
        	            	CreateDevice failed with error: "push provider "" with type "firebase" not found"
        	Test:       	TestClient_Devices
        	Messages:   	add device
--- FAIL: TestClient_SendMessage_Pending (1.01s)
    message_test.go:39: 
        	Error Trace:	message_test.go:39
        	Error:      	Received unexpected error:
        	            	SendMessage failed with error: "pending messages not enabled for this app"
        	Test:       	TestClient_SendMessage_Pending
FAIL
exit status 1
FAIL	github.com/GetStream/stream-chat-go/v6	130.451s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant