mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
tests: Avoid running TestNSRace in short test mode (#10735)
This commit is contained in:
@@ -41,6 +41,10 @@ func TestGetSource(t *testing.T) {
|
|||||||
|
|
||||||
// Test lock race
|
// Test lock race
|
||||||
func TestNSLockRace(t *testing.T) {
|
func TestNSLockRace(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode.")
|
||||||
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
for i := 0; i < 10000; i++ {
|
for i := 0; i < 10000; i++ {
|
||||||
|
|||||||
Reference in New Issue
Block a user