Parcourir la source

disable parallel test execution

Darien Raymond il y a 8 ans
Parent
commit
e274474f25
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      .travis.yml
  2. 1 1
      .vscode/tasks.json

+ 1 - 1
.travis.yml

@@ -9,6 +9,6 @@ before_script:
 - sudo ntpdate -u time.google.com
 - date
 script:
-- go test -tags json -v v2ray.com/core/...
+- go test -p 1 -tags json -v v2ray.com/core/...
 after_success:
 - ./testing/coverage/coverall

+ 1 - 1
.vscode/tasks.json

@@ -21,7 +21,7 @@
     },
     {
       "taskName": "test",
-      "args": ["v2ray.com/core/..."],
+      "args": ["-p", "1", "v2ray.com/core/..."],
       "isBuildCommand": false
     }
   ]