Skip to content

Commit

Permalink
Fix TestUsingDb case error message
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
  • Loading branch information
congqixia committed Oct 13, 2023
1 parent b1c9ccb commit ad9490c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testcases/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func TestUsingDb(t *testing.T) {
// using not existed db
dbName := common.GenRandomString(4)
err := mc.UsingDatabase(ctx, dbName)
common.CheckErr(t, err, false, fmt.Sprintf("connect fail, database not found: %s", dbName))
common.CheckErr(t, err, false, fmt.Sprintf("connect fail, database=%s: database not found", dbName))

// using empty db
err = mc.UsingDatabase(ctx, "")
Expand Down

0 comments on commit ad9490c

Please sign in to comment.