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() }