microsoft / terraform-provider-azuredevops

Terraform Azure DevOps provider
https://www.terraform.io/docs/providers/azuredevops/
MIT License
372 stars 260 forks source link

`azuredevops_git_repository` - Fix cannot set repo `default _branch` when updating #1020

Closed xuzhang3 closed 2 months ago

xuzhang3 commented 2 months ago

All Submissions:

What about the current behavior has changed?

Issue Number: Fixes: #1016

Does this introduce a change to go.mod, go.sum or vendor/?

Does this introduce a breaking change?

Any relevant logs, error output, etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Other information

xuzhang3 commented 2 months ago
=== RUN   TestAccGitRepo_CreateAndUpdate
=== PAUSE TestAccGitRepo_CreateAndUpdate
=== RUN   TestAccGitRepo_Create_IncorrectInitialization
=== PAUSE TestAccGitRepo_Create_IncorrectInitialization
=== RUN   TestAccGitRepo_Create_Import
=== PAUSE TestAccGitRepo_Create_Import
=== RUN   TestAccGitRepo_RepoInitialization_Clean
=== PAUSE TestAccGitRepo_RepoInitialization_Clean
=== RUN   TestAccGitRepo_RepoInitialization_Uninitialized
=== PAUSE TestAccGitRepo_RepoInitialization_Uninitialized
=== RUN   TestAccGitRepo_RepoFork_BranchNotEmpty
=== PAUSE TestAccGitRepo_RepoFork_BranchNotEmpty
=== CONT  TestAccGitRepo_CreateAndUpdate
=== CONT  TestAccGitRepo_RepoInitialization_Clean
=== CONT  TestAccGitRepo_RepoFork_BranchNotEmpty
=== CONT  TestAccGitRepo_Create_Import
=== CONT  TestAccGitRepo_Create_IncorrectInitialization
=== CONT  TestAccGitRepo_RepoInitialization_Uninitialized
--- PASS: TestAccGitRepo_Create_IncorrectInitialization (3.91s)
--- PASS: TestAccGitRepo_RepoFork_BranchNotEmpty (48.91s)
--- PASS: TestAccGitRepo_RepoInitialization_Uninitialized (55.08s)
--- PASS: TestAccGitRepo_RepoInitialization_Clean (57.13s)
--- PASS: TestAccGitRepo_CreateAndUpdate (68.76s)
--- PASS: TestAccGitRepo_Create_Import (70.11s)
PASS
ok      github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/acceptancetests        77.680s