From 6392ef5c44eaea2df8429fc46901a1647bf0c212 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Tue, 12 Jul 2016 10:13:03 -0700 Subject: [PATCH] integration: remove upgrade test for etcd0.4 --- integration/migration_test.go | 39 ------------------ integration/testdata/integration046_data/conf | 1 - integration/testdata/integration046_data/log | Bin 6742 -> 0 bytes .../integration046_data/snapshot/1_90.ss | 2 - 4 files changed, 42 deletions(-) delete mode 100644 integration/migration_test.go delete mode 100644 integration/testdata/integration046_data/conf delete mode 100644 integration/testdata/integration046_data/log delete mode 100644 integration/testdata/integration046_data/snapshot/1_90.ss diff --git a/integration/migration_test.go b/integration/migration_test.go deleted file mode 100644 index 9c0cfca9a..000000000 --- a/integration/migration_test.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2015 The etcd Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package integration - -import ( - "os/exec" - "testing" - - "github.com/coreos/etcd/pkg/testutil" -) - -func TestUpgradeMember(t *testing.T) { - defer testutil.AfterTest(t) - m := mustNewMember(t, memberConfig{name: "integration046"}) - cmd := exec.Command("cp", "-r", "testdata/integration046_data/conf", "testdata/integration046_data/log", "testdata/integration046_data/snapshot", m.DataDir) - err := cmd.Run() - if err != nil { - t.Fatal(err) - } - if err := m.Launch(); err != nil { - t.Fatal(err) - } - defer m.Terminate(t) - m.WaitOK(t) - - clusterMustProgress(t, []*member{m}) -} diff --git a/integration/testdata/integration046_data/conf b/integration/testdata/integration046_data/conf deleted file mode 100644 index 95106f8b1..000000000 --- a/integration/testdata/integration046_data/conf +++ /dev/null @@ -1 +0,0 @@ -{"commitIndex":1,"peers":[]} \ No newline at end of file diff --git a/integration/testdata/integration046_data/log b/integration/testdata/integration046_data/log deleted file mode 100644 index 1009d4512f5a33780968d6f55d8ea96335be037b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6742 zcmb7|>3bVB5XLE|Yp!sVqg-LRAxs*v|P)*l&4iBc)WPNYEJ-Sm|m=&A#U*)VAZcax> z)s4|VC@P?eYIpCbx>)TD?-ix=LaY=A_r{x7Q0?SsxKotouI-3qMQIHX4 zVP&MKp93OAMtI4E=*cFiD?~Obav^XbdaB9k3XzRj1VUQLgy`vXkc)!65)c^BGdUp2 zBFuLI4CvW(kS9eNjMSW>r5q4#n#FwN(&)K#P>70@a+ce*=W{?Yjl8v7j9y3vftaU} z_1yNqm;;KtrflF8ol6JFI!3~}cCg7rUTT6mP6)_&_)S<4M4Xq?IVuX0o;@J1G&vn7 z4WeIzH$odGuU}0EMZX4Pm24Y7t?Yag)Dl06=N5bxu!noU2^u`O zqk$03$N}eRA2cx?Csx;XjV8jKj}M!ijuVR<3Xl=NHbx(%gXV6H1&!OXk8?njL|(at z#)!7;lXOsR*B}CW&{lFl6eDXa+w%?5LG%9FIJQw=%>j`jue{~bdMzDP8@80*aUhWc zqFqw}vYptpYcd^F8@5skID1q%pqNL&DGmhbpxUs5H;&6}odY68fbA>?GU=dshYg^( zT4ZxTq(~TGTN;-Rsyl3LfxW2t98k<71A)th_3Ib@jwio2%lf@M=?f0_(3 zwPgqA+3NUN4hR*2GuCrU`#c>~d$x35v~M8>i`o|m>Ya{1ifgmt?+OPR#oFD&V;rR5 zB;$~VFn15*)9QGCG^sY~5rx1>${;>Agur6RHyR~YE!>#>g_0c zrf%fXhPkxA(ByO!J#*T~duVq~B$!6G4Aqx3CpHSJ1+aIZpK?G3L0((K9h{%jK|U&S)(Y<6 zT+acaBAk60$2CGX(m^3A5