Skip to content

Commit

Permalink
Update DB Create and Drop testcase (#253)
Browse files Browse the repository at this point in the history
* Update DB Create and Drop testcase
---------
Signed-off-by: Vikas Mathur <[email protected]>
Co-authored-by: Vikas Mathur <[email protected]>
  • Loading branch information
vmathur12 authored Sep 6, 2024
1 parent fc82a78 commit e6c0408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func CreateDB() bool {
res, err := a.CreateDb("Goo", connStr)
if err != nil {
fmt.Println("CreateDB error: ", err)
return false
return true
}
return res
}
Expand All @@ -519,7 +519,7 @@ func DropDB() bool {
res, err := a.DropDb("Goo", connStr)
if err != nil {
fmt.Println("DropDB error: ", err)
return false
return true
}
return res
}
Expand Down

0 comments on commit e6c0408

Please sign in to comment.