Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS ut fix: strfmt to string conversion to fix broken UT #4671

Merged
merged 12 commits into from
Jul 5, 2023

Conversation

gahlaut-rahul
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Test:

=== RUN TestAccIBMPrivateDNSCustomResolverForwardingRulesDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverForwardingRulesDataSource_basic (282.88s)
=== RUN TestAccIBMPrivateDNSCustomResolverDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverDataSource_basic (258.72s)
=== RUN TestAccIBMPrivateDNSGlbMonitorsDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbMonitorsDataSource_basic (117.09s)
=== RUN TestAccIBMPrivateDNSGlbPoolsDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbPoolsDataSource_basic (182.49s)
=== RUN TestAccIBMPrivateDNSGlbLoadBalancersDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbLoadBalancersDataSource_basic (144.11s)
=== RUN TestAccIBMPrivateDNSNetworkDataSource_basic
--- PASS: TestAccIBMPrivateDNSNetworkDataSource_basic (81.00s)
=== RUN TestAccIBMPrivateDNSResourceRecordsDataSource_basic
--- PASS: TestAccIBMPrivateDNSResourceRecordsDataSource_basic (86.36s)
=== RUN TestAccIBMPrivateDNSCustomResolverSecondaryZonesDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverSecondaryZonesDataSource_basic (256.57s)
=== RUN TestAccIBMPrivateDNSZonesDataSource_basic
--- PASS: TestAccIBMPrivateDNSZonesDataSource_basic (61.06s)
=== RUN TestAccIBMPrivateDNSCustomResolverForwardingRule_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverForwardingRule_basic (249.83s)
=== RUN TestAccIBMPrivateDNSCustomResolverLocations_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverLocations_basic (125.12s)

@gahlaut-rahul gahlaut-rahul changed the title Dns ut fix: strfmt to string conversion to fix broken UT DNS ut fix: strfmt to string conversion to fix broken UT Jul 5, 2023
@gahlaut-rahul
Copy link
Contributor Author

gahlaut-rahul commented Jul 5, 2023

UTs Run snapshot

=== RUN TestAccIBMPrivateDNSCustomResolverForwardingRulesDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverForwardingRulesDataSource_basic (282.88s)
=== RUN TestAccIBMPrivateDNSCustomResolverDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverDataSource_basic (258.72s)
=== RUN TestAccIBMPrivateDNSGlbMonitorsDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbMonitorsDataSource_basic (117.09s)
=== RUN TestAccIBMPrivateDNSGlbPoolsDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbPoolsDataSource_basic (182.49s)
=== RUN TestAccIBMPrivateDNSGlbLoadBalancersDataSource_basic
--- PASS: TestAccIBMPrivateDNSGlbLoadBalancersDataSource_basic (144.11s)
=== RUN TestAccIBMPrivateDNSNetworkDataSource_basic
--- PASS: TestAccIBMPrivateDNSNetworkDataSource_basic (81.00s)
=== RUN TestAccIBMPrivateDNSResourceRecordsDataSource_basic
--- PASS: TestAccIBMPrivateDNSResourceRecordsDataSource_basic (86.36s)
=== RUN TestAccIBMPrivateDNSCustomResolverSecondaryZonesDataSource_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverSecondaryZonesDataSource_basic (256.57s)
=== RUN TestAccIBMPrivateDNSZonesDataSource_basic
--- PASS: TestAccIBMPrivateDNSZonesDataSource_basic (61.06s)
=== RUN TestAccIBMPrivateDNSCustomResolverForwardingRule_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverForwardingRule_basic (249.83s)
=== RUN TestAccIBMPrivateDNSCustomResolverLocations_basic
--- PASS: TestAccIBMPrivateDNSCustomResolverLocations_basic (125.12s)
=== RUN TestAccIBMPrivateDNSGlbMonitor_Basic
--- PASS: TestAccIBMPrivateDNSGlbMonitor_Basic (153.04s)
=== RUN TestAccIBMPrivateDNSGlbMonitorImport
--- PASS: TestAccIBMPrivateDNSGlbMonitorImport (111.10s)
=== RUN TestAccIBMPrivateDNSGlbPool_Basic
--- PASS: TestAccIBMPrivateDNSGlbPool_Basic (225.00s)
=== RUN TestAccIBMPrivateDNSGlbPoolImport
--- PASS: TestAccIBMPrivateDNSGlbPoolImport (171.68s)
=== RUN TestAccIBMPrivateDNSGlbLoadBalancer_Basic
--- PASS: TestAccIBMPrivateDNSGlbLoadBalancer_Basic (182.07s)
=== RUN TestAccIBMPrivateDNSGlboadBalancerImport
--- PASS: TestAccIBMPrivateDNSGlboadBalancerImport (141.12s)
=== RUN TestAccIBMPrivateDNSPermittedNetwork_Basic
--- PASS: TestAccIBMPrivateDNSPermittedNetwork_Basic (79.79s)
=== RUN TestAccIBMPrivateDNSPermittedNetworkImport
--- PASS: TestAccIBMPrivateDNSPermittedNetworkImport (79.38s)
=== RUN TestAccIBMPrivateDNSResourceRecord_Basic
--- PASS: TestAccIBMPrivateDNSResourceRecord_Basic (213.84s)
=== RUN TestAccIBMPrivateDNSResourceRecordImport
--- PASS: TestAccIBMPrivateDNSResourceRecordImport (138.96s)
=== RUN TestAccIBMPrivateDNSZone_Basic
--- PASS: TestAccIBMPrivateDNSZone_Basic (65.86s)
=== RUN TestAccIBMPrivateDNSZoneImport
--- PASS: TestAccIBMPrivateDNSZoneImport (69.33s)

rahul.gahlautibm.com@Rahuls-MacBook-Pro terraform-provider-ibm % date
Wed Jul 5 16:35:31 IST 2023
rahul.gahlautibm.com@Rahuls-MacBook-Pro terraform-provider-ibm %

@gahlaut-rahul
Copy link
Contributor Author

@hkantare Please have a look and merge it.

@hkantare hkantare merged commit 845bb64 into IBM-Cloud:master Jul 5, 2023
omaraibrahim pushed a commit to omaraibrahim/terraform-provider-ibm that referenced this pull request Jul 20, 2023
)

* Enabled argument updated in docs for PDNS glb resource

* reverting the change made to main branch wrongly

* strfmt to string conversion to fix broken UT

* Wrongly left a debug msg, removing it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants