From d3bfec6eca41198df151a867d4d01824cc9dde8f Mon Sep 17 00:00:00 2001 From: ngaut Date: Sun, 22 Nov 2015 12:23:04 +0800 Subject: [PATCH] Tiny clean up --- store/localstore/isolation_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/store/localstore/isolation_test.go b/store/localstore/isolation_test.go index 2d5b3c07c3..2c29b1ea35 100644 --- a/store/localstore/isolation_test.go +++ b/store/localstore/isolation_test.go @@ -1,7 +1,6 @@ package localstore_test import ( - "log" "sync" . "github.com/pingcap/check" @@ -43,10 +42,7 @@ func (t *testIsolationSuite) TestInc(c *C) { m.Lock() _, ok := ids[id] - if ok { - log.Fatal("") - } - //c.Assert(ok, IsFalse) + c.Assert(ok, IsFalse) ids[id] = struct{}{} m.Unlock() }