db/mssql: increase context timeout in test (#27663)

* db/mssql: increase context timeout in test

* fix test build
This commit is contained in:
John-Michael Faircloth
2024-07-02 15:56:47 -05:00
committed by GitHub
parent a49c892f4b
commit fc19a9ce9c
2 changed files with 3 additions and 3 deletions

View File

@@ -294,7 +294,7 @@ func TestUpdateUser_password(t *testing.T) {
Username: dbUser,
}
ctx, cancel = context.WithTimeout(context.Background(), 5*time.Second)
ctx, cancel = context.WithTimeout(context.Background(), 20*time.Second)
defer cancel()
deleteResp, err := db.DeleteUser(ctx, deleteReq)
if err != nil {
@@ -342,7 +342,7 @@ func TestDeleteUser(t *testing.T) {
Username: dbUser,
}
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
defer cancel()
deleteResp, err := db.DeleteUser(ctx, deleteReq)
if err != nil {