mirror of https://github.com/milvus-io/milvus.git
Update the version of build environment
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/4973/head^2
parent
e349508e78
commit
00b4b67a1f
2
.env
2
.env
|
@ -1,4 +1,4 @@
|
|||
REPO=milvusdb/milvus-distributed-dev
|
||||
ARCH=amd64
|
||||
UBUNTU=18.04
|
||||
DATE_VERSION=20201102-104943
|
||||
DATE_VERSION=20201113-042812
|
||||
|
|
|
@ -10,6 +10,7 @@ on:
|
|||
- 'internal/**'
|
||||
- 'cmd/**'
|
||||
- '.github/workflows/main.yaml'
|
||||
- '.env'
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
|
@ -20,6 +21,7 @@ on:
|
|||
- 'internal/**'
|
||||
- 'cmd/**'
|
||||
- '.github/workflows/main.yaml'
|
||||
- '.env'
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
|
|
|
@ -36,7 +36,6 @@ mkdir -p "${DOCKER_VOLUME_DIRECTORY:-.docker}/amd64-ubuntu18.04-cache"
|
|||
chmod -R 777 "${DOCKER_VOLUME_DIRECTORY:-.docker}"
|
||||
|
||||
docker-compose pull --ignore-pull-failures ubuntu
|
||||
docker-compose build ubuntu
|
||||
docker-compose run --rm -u "$uid:$gid" ubuntu "$@"
|
||||
|
||||
popd
|
||||
|
|
|
@ -2,7 +2,6 @@ package master
|
|||
|
||||
import (
|
||||
"context"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
@ -106,10 +105,7 @@ func TestMetaTable_Collection(t *testing.T) {
|
|||
|
||||
collsName, err := meta.ListCollections()
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, len(collsName), 2)
|
||||
e1 := reflect.DeepEqual(collsName, []string{"coll1", "coll2"})
|
||||
e2 := reflect.DeepEqual(collsName, []string{"coll2", "coll1"})
|
||||
assert.True(t, e1 || e2)
|
||||
assert.Equal(t, collsName, []string{"coll1", "coll2"})
|
||||
|
||||
hasCollection := meta.HasCollection(colMeta.ID)
|
||||
assert.True(t, hasCollection)
|
||||
|
|
Loading…
Reference in New Issue