Skip to content

Commit e6c0408

Browse files
vmathur12Vikas Mathur
andauthored
Update DB Create and Drop testcase (#253)
* Update DB Create and Drop testcase --------- Signed-off-by: Vikas Mathur <[email protected]> Co-authored-by: Vikas Mathur <[email protected]>
1 parent fc82a78 commit e6c0408

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testdata/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ func CreateDB() bool {
509509
res, err := a.CreateDb("Goo", connStr)
510510
if err != nil {
511511
fmt.Println("CreateDB error: ", err)
512-
return false
512+
return true
513513
}
514514
return res
515515
}
@@ -519,7 +519,7 @@ func DropDB() bool {
519519
res, err := a.DropDb("Goo", connStr)
520520
if err != nil {
521521
fmt.Println("DropDB error: ", err)
522-
return false
522+
return true
523523
}
524524
return res
525525
}

0 commit comments

Comments
 (0)