Skip to content

fix: Added port information check in ClusterIPAddress#4162

Merged
zroubalik merged 4 commits intokedacore:mainfrom
emircanagac:cassandra_scaler_fixedport
Feb 6, 2023
Merged

fix: Added port information check in ClusterIPAddress#4162
zroubalik merged 4 commits intokedacore:mainfrom
emircanagac:cassandra_scaler_fixedport

Conversation

@emircanagac
Copy link
Copy Markdown
Contributor

Signed-off-by: ithesadson [email protected]

Since the change I made before was a breaking change, I just fix the mistake and send a pr again.
Issue : #4110
Previous PR: #4079

If the clusterIPAddress contains port information, checking if the port information is entered in the clusterIPAddress will cause some errors.

Error example in current code: User enters the following values.
clusterIPAddress: "https://cassandra.test/"
port: "9042"
->Expected clusterIPAddress : https://cassandra.test:9042/
The actual clusterIPAddress: https://cassandra.test/

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)

@emircanagac emircanagac requested a review from a team as a code owner January 28, 2023 21:35
Signed-off-by: ithesadson <[email protected]>
@zroubalik
Copy link
Copy Markdown
Member

zroubalik commented Jan 30, 2023

/run-e2e cassandra*
Update: You can check the progress here

Copy link
Copy Markdown
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

Copy link
Copy Markdown
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emircanagac
Copy link
Copy Markdown
Contributor Author

I added the unit test. But e2e-tests has been running for about 5 days and has not finished yet. Is there any problem with my unit test?

@zroubalik
Copy link
Copy Markdown
Member

zroubalik commented Feb 6, 2023

/run-e2e cassandra*
Update: You can check the progress here

@zroubalik
Copy link
Copy Markdown
Member

@ithesadson maintainers need to start e2e tests, I've just triggered them

@zroubalik zroubalik mentioned this pull request Feb 6, 2023
1 task
Copy link
Copy Markdown
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix!

@zroubalik zroubalik merged commit 629f9e8 into kedacore:main Feb 6, 2023
@emircanagac emircanagac deleted the cassandra_scaler_fixedport branch March 20, 2023 11:10
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