Skip to content

Part 3 of #3964: Refactor benchmark handling of running mode - #4385

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:3964_Refactor_benchmark_handling_of_running_mode_pt3
May 20, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:3964_Refactor_benchmark_handling_of_running_mode_pt3

Conversation

@ajpotts

@ajpotts ajpotts commented May 8, 2025 •

Copy link
Copy Markdown
Contributor

This PR separates out the handling of CLASS_SERVER mode and GLOBAL_SERVER mode in the conftest.py for both the unit tests and the benchmarks. This corrects an error where the GLOBAL_SERVER mode did not start an arkouda server and therefore duplicated the behavior of CLIENT mode.

CLIENT mode should not start a sever, but assumes arkouda can connect to a pre-existing server. GLOBAL_SERVER mode should start a server once and be used for all tests across all modules. In CLASS_SERVER mode, a new server will start before the tests for each module and stop after the tests for that module are completed.

Part 3 of #3964: Refactor benchmark handling of running mode

@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode_pt3 branch from 44bc575 to 0271675 Compare May 8, 2025 23:46
@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode_pt3 branch from 0271675 to c980862 Compare May 8, 2025 23:53
@ajpotts
ajpotts marked this pull request as ready for review May 8, 2025 23:54
@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode_pt3 branch 4 times, most recently from c983dd0 to afca592 Compare May 9, 2025 14:08
@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode_pt3 branch from afca592 to ff98513 Compare May 13, 2025 01:39

@vasslitvinov vasslitvinov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good cleanup/fix!

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@ajpotts
ajpotts added this pull request to the merge queue May 20, 2025
Merged via the queue into Bears-R-Us:master with commit 6f213b3 May 20, 2025
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.

3 participants