Skip to content

Commit

Permalink
tests: independent region sync test (#1545)
Browse files Browse the repository at this point in the history
* tests: independent syncer region test

Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch authored May 22, 2019
1 parent 1268d8b commit 7a4685b
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package server_test
package syncer_test

import (
"context"
"testing"
"time"

. "github.com/pingcap/check"
Expand All @@ -25,6 +26,18 @@ import (
"github.com/pingcap/pd/tests"
)

func Test(t *testing.T) {
TestingT(t)
}

var _ = Suite(&serverTestSuite{})

type serverTestSuite struct{}

func (s *serverTestSuite) SetUpSuite(c *C) {
server.EnableZap = true
}

type idAllocator struct {
id uint64
}
Expand Down

0 comments on commit 7a4685b

Please sign in to comment.