From 069d5fe69ac54a0ba5f2d8effe8434d42f13d2b9 Mon Sep 17 00:00:00 2001
From: scott <scott@localhost.localdomain>
Date: Mon, 12 Aug 2019 13:46:48 +0800
Subject: [PATCH] Fix rename facede_test.go facade_test.go

---
 remoting/etcdv3/facede_test.go | 71 ----------------------------------
 1 file changed, 71 deletions(-)
 delete mode 100644 remoting/etcdv3/facede_test.go

diff --git a/remoting/etcdv3/facede_test.go b/remoting/etcdv3/facede_test.go
deleted file mode 100644
index 702aaece8..000000000
--- a/remoting/etcdv3/facede_test.go
+++ /dev/null
@@ -1,71 +0,0 @@
-package etcdv3
-
-import (
-	"context"
-	"sync"
-	"time"
-)
-
-import (
-	"github.com/apache/dubbo-go/common"
-)
-
-type mockFacade struct {
-	client  *Client
-	cltLock sync.Mutex
-	wg      sync.WaitGroup
-	URL     *common.URL
-	done    chan struct{}
-}
-
-func (r *mockFacade) Client() *Client {
-	return r.client
-}
-
-func (r *mockFacade) SetClient(client *Client) {
-	r.client = client
-}
-
-func (r *mockFacade) ClientLock() *sync.Mutex {
-	return &r.cltLock
-}
-
-func (r *mockFacade) WaitGroup() *sync.WaitGroup {
-	return &r.wg
-}
-
-func (r *mockFacade) GetDone() chan struct{} {
-	return r.done
-}
-
-func (r *mockFacade) GetUrl() common.URL {
-	return *r.URL
-}
-
-func (r *mockFacade) Destroy() {
-	close(r.done)
-	r.wg.Wait()
-}
-
-func (r *mockFacade) RestartCallBack() bool {
-	return true
-}
-func (r *mockFacade) IsAvailable() bool {
-	return true
-}
-
-func (suite *ClientTestSuite) TestFacade() {
-
-	c := suite.client
-	t := suite.T()
-
-	url, err := common.NewURL(context.Background(), "mock://127.0.0.1:2379")
-	if err != nil {
-		t.Fatal(err)
-	}
-	mock := &mockFacade{client: c, URL: &url}
-	go HandleClientRestart(mock)
-	c.Close()
-
-	time.Sleep(2 * time.Second)
-}
-- 
GitLab