mirror of https://github.com/tikv/client-go.git
integration: try not to skip tests when run with tikv (#445)
Signed-off-by: disksing <i@disksing.com>
This commit is contained in:
parent
8c3f29a55f
commit
7cbe10ea93
|
|
@ -84,11 +84,6 @@ func (s *testSnapshotFailSuite) TearDownTest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *testSnapshotFailSuite) TestBatchGetResponseKeyError() {
|
func (s *testSnapshotFailSuite) TestBatchGetResponseKeyError() {
|
||||||
// Meaningless to test with tikv because it has a mock key error
|
|
||||||
if *withTiKV {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Put two KV pairs
|
// Put two KV pairs
|
||||||
txn, err := s.store.Begin()
|
txn, err := s.store.Begin()
|
||||||
s.Require().Nil(err)
|
s.Require().Nil(err)
|
||||||
|
|
@ -112,11 +107,6 @@ func (s *testSnapshotFailSuite) TestBatchGetResponseKeyError() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *testSnapshotFailSuite) TestScanResponseKeyError() {
|
func (s *testSnapshotFailSuite) TestScanResponseKeyError() {
|
||||||
// Meaningless to test with tikv because it has a mock key error
|
|
||||||
if *withTiKV {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Put two KV pairs
|
// Put two KV pairs
|
||||||
txn, err := s.store.Begin()
|
txn, err := s.store.Begin()
|
||||||
s.Require().Nil(err)
|
s.Require().Nil(err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue