Skip to content

Remove ifdefs from ClusterStress to fix build#82

Merged
vazois merged 4 commits into
microsoft:mainfrom
PaulusParssinen:fix-build
Mar 22, 2024
Merged

Remove ifdefs from ClusterStress to fix build#82
vazois merged 4 commits into
microsoft:mainfrom
PaulusParssinen:fix-build

Conversation

@PaulusParssinen

@PaulusParssinen PaulusParssinen commented Mar 22, 2024

Copy link
Copy Markdown
Contributor

dotnet build kept failing for me. Seems like either wrapping the using System.Diagnostics into #ifdef or removing them from logic should fix it. Debug.Assert is still only a guard for the Debug builds unless the intent was to keep cost of the NumUtils.GetHashSlot from Release configuration stresstest?

@PaulusParssinen PaulusParssinen changed the title Remove ifdefs from ClusterStress which made Roslyn confused Remove ifdefs from ClusterStress to fix build Mar 22, 2024
Comment thread playground/ClusterStress/OnlineReqGen.cs
@PaulusParssinen PaulusParssinen requested a review from vazois March 22, 2024 17:47
@vazois vazois merged commit 5f3d6e4 into microsoft:main Mar 22, 2024
@PaulusParssinen PaulusParssinen deleted the fix-build branch March 22, 2024 19:03

@vazois vazois 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!

@github-actions github-actions Bot locked and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants