From 7621c6706d99c5d85e55d8914e9403524b4f07ec Mon Sep 17 00:00:00 2001 From: Charles Moulliard Date: Wed, 29 May 2019 11:16:34 +0200 Subject: [PATCH] Remove non used vars. Add setUseAuthoritative(false) to avoid the error : suite.go:49: error waiting for DNS record propagation: Could not determine authoritative nameservers for cert-manager-dns01-tests.example.com. --- main_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main_test.go b/main_test.go index c639167..fc7d364 100644 --- a/main_test.go +++ b/main_test.go @@ -11,13 +11,8 @@ import ( var ( zone = os.Getenv("TEST_ZONE_NAME") kubeBuilderBinPath = "./_out/kubebuilder/bin" - rfc2136TestDomain = "123456789.www.example.com" - rfc2136TestKeyAuth = "123d==" - rfc2136TestValue = "Now36o-3BmlB623-0c1qCIUmgWVVmDJb88KGl24pqpo" - rfc2136TestFqdn = "_acme-challenge.123456789.www.example.com." rfc2136TestZone = "example.com." rfc2136TestTsigKeyName = "example.com." - rfc2136TestTTL = 60 rfc2136TestTsigSecret = "IwBTJx9wrDp4Y1RyC3H0gA==" ) @@ -45,6 +40,7 @@ func TestRunsSuite(t *testing.T) { dns.SetDNSServer(server.ListenAddr()), dns.SetAllowAmbientCredentials(false), dns.SetManifestPath("testdata/my-custom-solver"), + dns.SetUseAuthoritative(false), ) fixture.RunConformance(t)