Enlarge integration test timeout (#25283)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/25287/head
congqixia 2023-07-03 17:40:25 +08:00 committed by GitHub
parent 4fdbc5af89
commit 549c4a0e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,7 @@ class Json {
return doc().at_pointer(pointer).error() == simdjson::SUCCESS;
}
// construct JSON pointer with provided path
static std::string
pointer(std::vector<std::string> nested_path) {
std::for_each(

View File

@ -34,7 +34,7 @@ fi
for d in $(go list ./tests/integration/...); do
echo "$d"
go test -race ${APPLE_SILICON_FLAG} -v -coverpkg=./... -coverprofile=profile.out -covermode=atomic "$d"
go test -race ${APPLE_SILICON_FLAG} -v -coverpkg=./... -coverprofile=profile.out -covermode=atomic "$d" -timeout=20m
if [ -f profile.out ]; then
grep -v kafka profile.out | grep -v planparserv2/generated | grep -v mocks | sed '1d' >> ${FILE_COVERAGE_INFO}
rm profile.out