Skip to content

fix(rep): use live GetDiskFreeSpaceEx in Windows test helper#1168

Merged
ameowlia merged 1 commit into
developfrom
fix/rep-mysql-windows-disk-stat
Jul 2, 2026
Merged

fix(rep): use live GetDiskFreeSpaceEx in Windows test helper#1168
ameowlia merged 1 commit into
developfrom
fix/rep-mysql-windows-disk-stat

Conversation

@ameowlia

@ameowlia ameowlia commented Jul 2, 2026

Copy link
Copy Markdown
Member

expectedTotalDiskMB was returning static 10*1024 MB but getDiskMB now returns freeBytesAvailable via GetDiskFreeSpaceEx on Windows. Match the production behavior so the assertion compares live to live.

expectedTotalDiskMB was returning static 10*1024 MB but getDiskMB
now returns freeBytesAvailable via GetDiskFreeSpaceEx on Windows.
Match the production behavior so the assertion compares live to live.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ameowlia ameowlia requested a review from a team as a code owner July 2, 2026 14:38
@ameowlia ameowlia merged commit ec2a26a into develop Jul 2, 2026
16 of 19 checks passed
@ameowlia ameowlia deleted the fix/rep-mysql-windows-disk-stat branch July 2, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

1 participant