mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
update doc about run single test (#17916)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
This commit is contained in:
parent
e9f3cae242
commit
b32ff76696
@ -182,7 +182,12 @@ $ make test-go
|
|||||||
|
|
||||||
To run a single test case (TestSearchTask in /internal/proxy directory, for example):
|
To run a single test case (TestSearchTask in /internal/proxy directory, for example):
|
||||||
```shell
|
```shell
|
||||||
$ go test -v ./internal/proxy/ -test.run TestSearchTask
|
$ source scripts/setenv.sh && go test -v ./internal/proxy/ -test.run TestSearchTask
|
||||||
|
```
|
||||||
|
|
||||||
|
If using Mac with M1 chip
|
||||||
|
```
|
||||||
|
$ source scripts/setenv.sh && go test -tags=dynamic -v ./internal/proxy/ -test.run TestSearchTask
|
||||||
```
|
```
|
||||||
|
|
||||||
### Code coverage
|
### Code coverage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user