You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, get your solution down to less than 5 seconds for all tests.
And you also mention to run the test, we run the following command
Use the following command to test for race conditions and correct functionality:
go test -race
Does the "5 second for all tests." should happen when running go test or go test -race?
Because this is what happened in my local
➜ 2-race-in-cache git:(main) ✗ go test -race
PASS
ok github.com/loong/go-concurrency-exercises/2-race-in-cache 5.178s
➜ 2-race-in-cache git:(main) ✗ go test
PASS
ok github.com/loong/go-concurrency-exercises/2-race-in-cache 4.122s
I'm quite confused if I have passed the 5 seconds threshold or nah
Thanks!
The text was updated successfully, but these errors were encountered:
As mentioned in /2-race-in-cache/README.md
And you also mention to run the test, we run the following command
Does the "5 second for all tests." should happen when running
go test
orgo test -race
?Because this is what happened in my local
I'm quite confused if I have passed the 5 seconds threshold or nah
Thanks!
The text was updated successfully, but these errors were encountered: