-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix tests in bastion_hosts_test.go file
- Remove `create publicip fails` test in bastion host `Reconcile` test as we don't create public IP as part of bastion host `Reconcile` - Remove `bastion successfully created with created public ip` test in bastion host `Reconcile` test as we don't create public IP as part of bastion host `Reconcile` - Remove unnecessary / wrong method call expectations using mocks - `mPublicIP.CreateOrUpdate` method call expectations - `m.Delete(gomockinternal.AContext(), "my-rg", "my-bastionhost1")` expectation - Fix the order of method call expectations using mocks - `mPublicIP.Get` gets called before `mSubnet.Get` - Comment out `t.Parallel` temporarily with details about the removal of parallelization - tldr; enabling parallel tests seems to give wrong test results - Fix the expected error messages Signed-off-by: Karuppiah Natarajan <[email protected]>
- Loading branch information
1 parent
4d1384e
commit 002984f
Showing
1 changed file
with
9 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters