Skip to content

Conversation

@tengu-alt
Copy link
Contributor

@tengu-alt tengu-alt commented Feb 21, 2025

hostpool package test was using recently removed SetConnectAddress()
The test was refactored to create hostInfo by constructor func, and the newHostInfo constructor was exposed.
Also fix for the CASSGO-56

@tengu-alt tengu-alt changed the title CASSGO 59 Test fix for hostpool package and newHostInfoExpose CASSGO 59 Test fix for hostpool package and newHostInfo() expose Feb 21, 2025
@joao-r-reis joao-r-reis changed the title CASSGO 59 Test fix for hostpool package and newHostInfo() expose CASSGO-59 Test fix for hostpool package and newHostInfo() expose Feb 21, 2025
@joao-r-reis
Copy link
Contributor

We should fix the CI issue here on this PR too so we know we're fixing the issue and there won't be regressions

@tengu-alt
Copy link
Contributor Author

We should fix the CI issue here on this PR

Understood, I'll do it.

@joao-r-reis
Copy link
Contributor

@tengu-alt I don't see TestHostPolicy_HostPool in the CI log still, I think the fix is to add ./.. to go test, we should do it for all steps in the workflow I think

@tengu-alt tengu-alt force-pushed the cassgo-45-fix branch 2 times, most recently from a323a8f to 1da65ed Compare March 19, 2025 12:07
@tengu-alt
Copy link
Contributor Author

I think the fix is to add ./.. to go test, we should do it for all steps in the workflow I think

Agree, I've added the ./... to jobs go test, also I've added the unit build tags for other packages tests(e.g. murmur and lru) to prevent double run during integration tests.

hostpool package test was refactored to create HostInfo via exported NewhostInfo() constructor.
NewHostInfo() was exposed.

patch by Oleksandr Luzhniy; reviewed by João Reis, for CASSGO-59
@tengu-alt
Copy link
Contributor Author

I had to remove the ./... from integration test runs because we already have those within env.args

@tengu-alt
Copy link
Contributor Author

@joao-r-reis It seems that TestHostPolicy_HostPool is passed test. Please take a look.

@joao-r-reis joao-r-reis changed the title CASSGO-59 Test fix for hostpool package and newHostInfo() expose CASSGO-59 CASSGO-56 Test fix for hostpool package and newHostInfo() expose Mar 27, 2025
@joao-r-reis joao-r-reis merged commit c75ff5f into apache:trunk Mar 27, 2025
72 checks passed
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

Successfully merging this pull request may close these issues.

2 participants