mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(coderd): remove timing check (#7144)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package testutil
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"os"
|
||||
)
|
||||
|
||||
@@ -9,9 +8,3 @@ func InCI() bool {
|
||||
_, ok := os.LookupEnv("CI")
|
||||
return ok
|
||||
}
|
||||
|
||||
func InRaceMode() bool {
|
||||
fl := flag.Lookup("race")
|
||||
//nolint:forcetypeassert
|
||||
return fl != nil && fl.Value.(flag.Getter).Get().(bool)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user