uncomment testProcessorsTx
This commit is contained in:
parent
68862870a9
commit
772a2c7baa
|
@ -2926,6 +2926,7 @@ func testNullValue(engine *Engine, t *testing.T) {
|
||||||
panic(err)
|
panic(err)
|
||||||
} else if cnt != 1 {
|
} else if cnt != 1 {
|
||||||
t.Error(errors.New("update count == 0, how can this happen!?"))
|
t.Error(errors.New("update count == 0, how can this happen!?"))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify get values
|
// verify get values
|
||||||
|
@ -2933,9 +2934,10 @@ func testNullValue(engine *Engine, t *testing.T) {
|
||||||
has, err = engine.Id(nullData.Id).Get(&nullDataGet)
|
has, err = engine.Id(nullData.Id).Get(&nullDataGet)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
panic(err)
|
return
|
||||||
} else if !has {
|
} else if !has {
|
||||||
t.Error(errors.New("ID not found"))
|
t.Error(errors.New("ID not found"))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if *nullDataGet.StringPtr != *nullDataUpdate.StringPtr {
|
if *nullDataGet.StringPtr != *nullDataUpdate.StringPtr {
|
||||||
|
@ -3116,8 +3118,8 @@ func testAll2(engine *Engine, t *testing.T) {
|
||||||
|
|
||||||
// !nash! the 3rd set of the test is intended for non-cache enabled engine
|
// !nash! the 3rd set of the test is intended for non-cache enabled engine
|
||||||
func testAll3(engine *Engine, t *testing.T) {
|
func testAll3(engine *Engine, t *testing.T) {
|
||||||
// fmt.Println("-------------- processors TX --------------")
|
fmt.Println("-------------- processors TX --------------")
|
||||||
// testProcessorsTx(engine, t)
|
testProcessorsTx(engine, t)
|
||||||
fmt.Println("-------------- insert pointer data --------------")
|
fmt.Println("-------------- insert pointer data --------------")
|
||||||
testPointerData(engine, t)
|
testPointerData(engine, t)
|
||||||
fmt.Println("-------------- insert null data --------------")
|
fmt.Println("-------------- insert null data --------------")
|
||||||
|
|
Loading…
Reference in New Issue