Skip to content

add unit tests for target based scaling, and fix 2 bugs found by tests#446

Merged
sebastianburckhardt merged 1 commit intovabachu/tbsfrom
sburckha/tbs-updates
Feb 13, 2025
Merged

add unit tests for target based scaling, and fix 2 bugs found by tests#446
sebastianburckhardt merged 1 commit intovabachu/tbsfrom
sburckha/tbs-updates

Conversation

@sebastianburckhardt
Copy link
Member

I added a lot more unit tests for the target-based scaling feature, to exercise the logic in various places.

I also found two bugs in the scaling logic using these tests, and fixed them.

@sebastianburckhardt sebastianburckhardt merged commit 79c6723 into vabachu/tbs Feb 13, 2025
1 of 2 checks passed
nytian added a commit that referenced this pull request Feb 14, 2025
* initial commit

* port the scaling logic to compute a target instead of a scale recommendation.

* moved target based scaling code to NetheriteTargetScaler

* adding tests

* updated test name

* add instanceId to descriptor (#270)

* make netherite metrics provider singleton

* add deleted package reference

* add unit tests for target based scaling, and fix 2 bugs found by tests (#446)

* increase version to 3.1.0

* update index

* add empty line

* update by comments make loadpublisher class property

---------

Co-authored-by: sebastianburckhardt <sburckha@microsoft.com>
Co-authored-by: David Justo <david.justo.1996@gmail.com>
Co-authored-by: naiyuantian@microsoft.com <naiyuantian@microsoft.com>
Co-authored-by: Naiyuan Tian <110135109+nytian@users.noreply.github.com>
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