tests/integration: Moving integration tests to tests/integration directory

git mv integration ./tests

git mv client/integration/* ./tests/integration/client
git mv clientv3/integration/* ./tests/integration/clientv3
git mv client/example_keys_test.go client/main_test.go tests/integration/client/examples
git mv clientv3/concurrency/*_test.go tests/integration/clientv3/concurrency

git mv etcdserver/api/v2store/store_v2v3_test.go etcdserver/api/v2v3/*_test.go tests/integration/v2store
git mv tests/integration/v2store/store_v2v3_test.go tests/integration/v2store/store_v2v3.go
git mv tests/integration/v2store/store_test.go tests/integration/v2store/store_v2v3_test.go
git mv etcdserver/api/v2store/store_test.go tests/integration/v2store
git mv etcdserver/api/v2store/store_v2_test.go tests/integration/v2store

git mv proxy/grpcproxy/*_test.go tests/integration/proxy/grpcproxy

git mv ./clientv3/snapshot/testdata ./clientv3/snapshot/*_test.go ./tests/integration/snapshot
This commit is contained in:
Piotr Tabor 2020-09-27 13:52:42 +02:00
parent b382429d01
commit 3153038ffb
118 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@ func TestGRPCResolverMulti(t *testing.T) {
t.Fatal(err)
}
r := namingv3.GRPCResolver{c}
r := namingv3.GRPCResolver{Client: c}
w, err := r.Resolve("foo")
if err != nil {

View File

@ -12,6 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package integration implements tests built upon embedded etcd, and focuses on
// Package clientv3test implements tests built upon embedded etcd, and focuses on
// correctness of etcd client.
package integration
package clientv3test

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package v2v3_test
package v2store_test
import (
"fmt"

View File

@ -23,7 +23,7 @@ import (
"go.etcd.io/etcd/v3/clientv3"
"go.etcd.io/etcd/v3/etcdserver/api/v2store"
"go.etcd.io/etcd/v3/etcdserver/api/v2v3"
"go.etcd.io/etcd/v3/integration"
"go.etcd.io/etcd/tests/v3/integration"
"google.golang.org/grpc/grpclog"
)

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package v2v3_test
package v2store_test
import (
"strings"

Some files were not shown because too many files have changed in this diff Show More