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

Improvement of how to contribute testing, local setup. #1703

Open
Nikolajls opened this issue Jan 12, 2025 · 0 comments
Open

Improvement of how to contribute testing, local setup. #1703

Nikolajls opened this issue Jan 12, 2025 · 0 comments

Comments

@Nikolajls
Copy link
Contributor

Nikolajls commented Jan 12, 2025

So I'm trying to contribute two issues that I'd like to be fixed, both are fairly small.
One of them being :
#1699

But the contribution guide and the repo itself does not really indicate how to setup for contribs in regards to testing.
https://github.com/streamnative/pulsarctl/blob/master/CONTRIBUTING.md

I'm running on windows though but I still miss a lot of information on how to run the test locally.
Just zooming in on a specific test case for subscription create:
image
When executing a specific test case it reads from my config of my normal pulsarctl installation located in %home.config\pulsar\config and reads the current-context and tries to use it (and fails due to cred files being somewhere else).
This seems like its trying to work on actual cluster

If i remove current-context then it defaults to a localhost URL - however its not really documented how to setup the repo/ code for testing - so I cant really make sure it works in any way yet.

I would have hoped that the pulsar cluster and such was stubbed out for easier testing, but its not so would love to see some addition to how to contribute besides the git part.

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