forked from mirror/gorm
skip test sqlserver due to it will raise data race for invalid sql
This commit is contained in:
parent
88078e48d0
commit
26e0c6fb69
|
@ -293,6 +293,10 @@ func TestFindInBatches(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestFindInBatchesWithError(t *testing.T) {
|
func TestFindInBatchesWithError(t *testing.T) {
|
||||||
|
if name := DB.Dialector.Name(); name == "sqlserver" {
|
||||||
|
t.Skip("skip sqlserver due to it will raise data race for invalid sql")
|
||||||
|
}
|
||||||
|
|
||||||
var users = []User{
|
var users = []User{
|
||||||
*GetUser("find_in_batches_with_error", Config{}),
|
*GetUser("find_in_batches_with_error", Config{}),
|
||||||
*GetUser("find_in_batches_with_error", Config{}),
|
*GetUser("find_in_batches_with_error", Config{}),
|
||||||
|
|
Loading…
Reference in New Issue