tests: Avoid running TestNSRace in short test mode (#10735)

This commit is contained in:
Anis Elleuch authored and GitHub committed 2020-10-23 21:23:12 -07:00
1 parent 734f258878
commit 2c32c2149e
1 file changed
+4
+4
View File
@@ -41,6 +41,10 @@ func TestGetSource(t *testing.T) {
// Test lock race
func TestNSLockRace(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
}
ctx := context.Background()
for i := 0; i < 10000; i++ {