Skip to content

Commit 957dd0c

Browse files
author
Matthew Fisher
committed
test(registry): remove unit tests
the unit tests are outdated, useless and consistently failing. We were cloning and running the unit tests correctly some months ago, but now it requires a local redis. Unit tests are covered by docker/docker-registry, anyways.
1 parent a23719e commit 957dd0c

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

registry/Makefile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,7 @@ full-clean: clean
3030
test: test-unit test-functional
3131

3232
test-unit:
33-
# Requires libevent-dev, libffi-dev, libpython-dev, libssl-dev, liblzma-dev on Ubuntu
34-
@if [ ! -d test-unit.tmp ]; then \
35-
git clone -b 0.6.8 https://github.com/dotcloud/docker-registry test-unit.tmp; \
36-
fi
37-
virtualenv venv
38-
venv/bin/pip install -q -r test-unit.tmp/requirements.txt
39-
venv/bin/pip install -q -r test-unit.tmp/test-requirements.txt
40-
@if [ -d /tmp/test ]; then \
41-
rm -rf /tmp/test; \
42-
fi
43-
cd test-unit.tmp && \
44-
DOCKER_REGISTRY_CONFIG=config_test.yml SETTINGS_FLAVOR=test PYTHONPATH=test \
45-
../venv/bin/python -m unittest discover -s test
33+
@echo no unit tests
4634

4735
test-functional:
4836
GOPATH=$(CURDIR)/../tests/_vendor:$(GOPATH) go test -v -timeout 20m ./tests/...

0 commit comments

Comments
 (0)