Skip to content

Commit 6b3a9e4

Browse files
committed
Remove functional tests
Signed-off-by: joshjms <joshjms1607@gmail.com>
1 parent 74fdeaa commit 6b3a9e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+7
-15554
lines changed

.github/workflows/tests.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
- linux-amd64-integration-1-cpu
1111
- linux-amd64-integration-2-cpu
1212
- linux-amd64-integration-4-cpu
13-
- linux-amd64-functional
1413
- linux-amd64-unit-4-cpu-race
1514
- all-build
1615
- linux-amd64-grpcproxy
@@ -45,9 +44,6 @@ jobs:
4544
make install-gofail
4645
GOARCH=amd64 CPU=4 RACE='false' FAILPOINTS='true' make test-integration
4746
;;
48-
linux-amd64-functional)
49-
./build && GOARCH=amd64 PASSES='functional' ./test
50-
;;
5147
linux-amd64-unit-4-cpu-race)
5248
GOARCH=amd64 RACE='true' CPU='4' GO_TEST_FLAGS='-p=2' make test-unit
5349
;;

Makefile

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ compile-setup-gopath-with-docker-test:
123123
# Local machine:
124124
# TEST_OPTS="PASSES='fmt'" make test
125125
# TEST_OPTS="PASSES='fmt bom dep build unit'" make test
126-
# TEST_OPTS="PASSES='build unit release integration_e2e functional'" make test
126+
# TEST_OPTS="PASSES='build unit release integration_e2e'" make test
127127
# TEST_OPTS="PASSES='build grpcproxy'" make test
128128
#
129129
# Example (test with docker):
@@ -135,8 +135,8 @@ compile-setup-gopath-with-docker-test:
135135
# TEST_OPTS="PASSES='fmt bom dep build unit'" make docker-test
136136
#
137137
# Semaphore CI (test with docker):
138-
# TEST_OPTS="PASSES='build unit release integration_e2e functional'" make docker-test
139-
# HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build unit release integration_e2e functional'" make docker-test
138+
# TEST_OPTS="PASSES='build unit release integration_e2e'" make docker-test
139+
# HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build unit release integration_e2e'" make docker-test
140140
# TEST_OPTS="GOARCH=386 PASSES='build unit integration_e2e'" make docker-test
141141
#
142142
# grpc-proxy tests (test with docker):
@@ -490,55 +490,6 @@ docker-dns-srv-test-certs-wildcard-run:
490490
gcr.io/etcd-development/etcd-dns-srv-test:go$(GO_VERSION) \
491491
/bin/bash -c "cd /etcd && /certs-wildcard/run.sh && rm -rf m*.etcd"
492492

493-
494-
495-
# Example:
496-
# make build-functional
497-
# make build-docker-functional
498-
# make push-docker-functional
499-
# make pull-docker-functional
500-
501-
build-functional:
502-
$(info GO_VERSION: $(GO_VERSION))
503-
$(info ETCD_VERSION: $(ETCD_VERSION))
504-
./functional/build
505-
./bin/etcd-agent -help || true && \
506-
./bin/etcd-proxy -help || true && \
507-
./bin/etcd-runner --help || true && \
508-
./bin/etcd-tester -help || true
509-
510-
build-docker-functional:
511-
$(info GO_VERSION: $(GO_VERSION))
512-
$(info ETCD_VERSION: $(ETCD_VERSION))
513-
@sed -i.bak 's|REPLACE_ME_GO_VERSION|$(GO_VERSION)|g' ./functional/Dockerfile
514-
docker build \
515-
--tag gcr.io/etcd-development/etcd-functional:go$(GO_VERSION) \
516-
--file ./functional/Dockerfile \
517-
.
518-
@mv ./functional/Dockerfile.bak ./functional/Dockerfile
519-
520-
docker run \
521-
--rm \
522-
gcr.io/etcd-development/etcd-functional:go$(GO_VERSION) \
523-
/bin/bash -c "./bin/etcd --version && \
524-
./bin/etcd-failpoints --version && \
525-
./bin/etcdctl version && \
526-
./bin/etcd-agent -help || true && \
527-
./bin/etcd-proxy -help || true && \
528-
./bin/etcd-runner --help || true && \
529-
./bin/etcd-tester -help || true && \
530-
./bin/benchmark --help || true"
531-
532-
push-docker-functional:
533-
$(info GO_VERSION: $(GO_VERSION))
534-
$(info ETCD_VERSION: $(ETCD_VERSION))
535-
gcloud docker -- push gcr.io/etcd-development/etcd-functional:go$(GO_VERSION)
536-
537-
pull-docker-functional:
538-
$(info GO_VERSION: $(GO_VERSION))
539-
$(info ETCD_VERSION: $(ETCD_VERSION))
540-
docker pull gcr.io/etcd-development/etcd-functional:go$(GO_VERSION)
541-
542493
# Failpoints
543494
GOFAIL_VERSION = $(shell cd tools/mod && go list -m -f {{.Version}} go.etcd.io/gofail)
544495
.PHONY: install-gofail

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ etcd is a distributed reliable key-value store for the most critical data of a d
2222

2323
etcd is written in Go and uses the [Raft][raft] consensus algorithm to manage a highly-available replicated log.
2424

25-
etcd is used [in production by many companies](./Documentation/production-users.md), and the development team stands behind it in critical deployment scenarios, where etcd is frequently teamed with applications such as [Kubernetes][k8s], [locksmith][locksmith], [vulcand][vulcand], [Doorman][doorman], and many others. Reliability is further ensured by [**rigorous testing**](https://github.com/etcd-io/etcd/tree/master/functional).
25+
etcd is used [in production by many companies](./Documentation/production-users.md), and the development team stands behind it in critical deployment scenarios, where etcd is frequently teamed with applications such as [Kubernetes][k8s], [locksmith][locksmith], [vulcand][vulcand], [Doorman][doorman], and many others. Reliability is further ensured by [**robustness testing**](https://github.com/etcd-io/etcd/tree/main/tests/robustness).
2626

2727
See [etcdctl][etcdctl] for a simple command line client.
2828

build

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ tools_build() {
8989
tools_path="tools/benchmark
9090
tools/etcd-dump-db
9191
tools/etcd-dump-logs
92-
tools/local-tester/bridge
93-
functional/cmd/etcd-agent
94-
functional/cmd/etcd-proxy
95-
functional/cmd/etcd-runner
96-
functional/cmd/etcd-tester"
92+
tools/local-tester/bridge"
9793
for tool in ${tools_path}
9894
do
9995
echo "Building" "'${tool}'"...

functional.yaml

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)