You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build with gssapi tag
* set up kerberos test env
* improve setup
* create separate exporter keytab
* prepare test environment
* include test tags
* create conf file before starting containers
* use tmp dir for config
* re-run script
* add logrus reporter
* install libkrb5-dev in runner
* drop installation
* do not mount tmp directly
* install krb5 libraries
* use one liners for mongo commands
* fix permissions
* fix up linter
* split test function to satisfy linter
* fix formatting
* remove unused changes
* use prebuilt docker image and volume
* rename 'docker' folder to 'test-setup'
* fix image in use
* build docker image
* enable CGO in goreleaser
* fix releaser tags
* force cgo during build
* add timeout to script
* remove logrus
* apply linter suggestion
go test -tags gssapi -v -count 1 -timeout 30s ./...
103
103
104
104
test-race: env ## Run all tests with race flag
105
-
go test -race -v -timeout 30s ./...
105
+
go test -tags gssapi -race -v -timeout 30s ./...
106
106
107
107
test-cover: env ## Run tests and collect cross-package coverage information
108
-
go test -race -timeout 30s -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./...
108
+
go test -tags gssapi -race -timeout 30s -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./...
109
109
110
110
test-cluster: env ## Starts MongoDB test cluster. Use env var TEST_MONGODB_IMAGE to set flavor and version. Example: TEST_MONGODB_IMAGE=mongo:3.6 make test-cluster
111
111
docker compose up --build -d
112
-
./docker/scripts/setup-pbm.sh
112
+
./test-setup/scripts/init-psmdb-kerberos.sh
113
+
./test-setup/scripts/init-pbm.sh
113
114
114
115
test-cluster-clean: env ## Stops MongoDB test cluster.
0 commit comments