Skip to content

Add WithRaceDetection flag to integration tests - #1302

Closed
AkramBitar wants to merge 4 commits into
mainfrom
add-race-detection-flag
Closed

Add WithRaceDetection flag to integration tests#1302
AkramBitar wants to merge 4 commits into
mainfrom
add-race-detection-flag

Conversation

@AkramBitar

@AkramBitar AkramBitar commented Jan 20, 2026

Copy link
Copy Markdown
Contributor
  • Use EnableRaceDetector() after integration.New() to enable race detection
  • This approach allows platform factories to be registered before Generate() is called

This solves #1151

@AkramBitar AkramBitar added this to the Q1/26 milestone Jan 20, 2026
@AkramBitar AkramBitar self-assigned this Jan 20, 2026
@AkramBitar AkramBitar added enhancement New feature or request testing labels Jan 20, 2026
@AkramBitar
AkramBitar marked this pull request as draft January 20, 2026 14:00
@AkramBitar
AkramBitar force-pushed the add-race-detection-flag branch from af3f150 to 96de5f4 Compare January 20, 2026 14:03
@AkramBitar AkramBitar added the nwo label Jan 20, 2026
@AkramBitar
AkramBitar force-pushed the add-race-detection-flag branch 8 times, most recently from dd9ebbc to b1170c0 Compare January 20, 2026 22:54
@AkramBitar
AkramBitar force-pushed the add-race-detection-flag branch from ccfc05a to ed6a218 Compare March 10, 2026 15:12
- Use integration.Generate with WithRaceDetection flag
- Fix regression: use integration.New() to allow platform factory registration before Generate()

Signed-off-by: AkramBitar <akram@il.ibm.com>
@AkramBitar
AkramBitar force-pushed the add-race-detection-flag branch from 16678ed to 5b26b10 Compare March 10, 2026 15:24
Signed-off-by: AkramBitar <akram@il.ibm.com>
Signed-off-by: AkramBitar <akram@il.ibm.com>
Signed-off-by: AkramBitar <akram@il.ibm.com>
@AkramBitar

Copy link
Copy Markdown
Contributor Author

We need to revisit adding WithRaceDetection flag to integration tests in the future. We will keep issue for it. Closing this now.

@AkramBitar AkramBitar closed this Mar 23, 2026
@adecaro
adecaro deleted the add-race-detection-flag branch April 22, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request nwo testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants