-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(-race): race condition with -race flag #2663
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2663 +/- ##
=======================================
Coverage 60.84% 60.85%
=======================================
Files 563 563
Lines 75190 75184 -6
=======================================
Hits 45753 45753
+ Misses 26068 26063 -5
+ Partials 3369 3368 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I am currently correcting the test errors on the bytes_test.gno, L542 and sort_test.gno, L656 files but I don't understand if |
Flag UpdateI've removed the gnovmThe issue with the test
I tried to skip the file during the test by adding: if filepath.Base(path) == "xfactor_long.gno" {
t.Skip("skipping non-gno file:", path)
} in the file eval_test.go L14 But it didn’t change anything. For the tm2Currently for
For the CI Thank you for checking my changes when you have the time and for guiding me if possible to fix the remaining issues :) |
Thank you for your contribution, but this is part where we are working on refactoring the whole set of tests, also in relation to gnovm, it's better to let this to the core team. There is a lot missing context for you, and it's up to us to clarify before welcoming contributions on this specific part, thanks. |
Thanks for your feedback and explanation I understand what you mean. In any case, it would have allowed me to learn something new 🙏🏼 |
-race
flagI do going to try make this issues #2097
This is my draft PR for
-race
flag. For moment not all files is fixet.My plan for solve these race conditions :
Run
go test -race ./...
Check all files in running
DATA RACE
andGoroutine
Use a best technique (mutex, chan, sync/atomic) for solve
Data Race
andGoroutine