diff options
| author | roytev <roytev@gmail.com> | 2022-02-08 10:08:15 +0200 |
|---|---|---|
| committer | roytev <roytev@gmail.com> | 2022-02-08 10:24:16 +0200 |
| commit | e4ab1da9420608d68d4cc479cdf0ed232aff4fb1 (patch) | |
| tree | 46d8c5a2549fc337d8051176e2762cc77f93e3a0 /main_test.go | |
| parent | 9440683e53e15c70f7161a0f0c09000d8515b96f (diff) | |
| download | cert-manager-webhook-hostinger-e4ab1da9420608d68d4cc479cdf0ed232aff4fb1.tar.gz cert-manager-webhook-hostinger-e4ab1da9420608d68d4cc479cdf0ed232aff4fb1.zip | |
update version and fix
Signed-off-by: Roi Teveth <roytev@gmail.com>
Diffstat (limited to 'main_test.go')
| -rw-r--r-- | main_test.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main_test.go b/main_test.go index 0377170..2183310 100644 --- a/main_test.go +++ b/main_test.go @@ -26,15 +26,18 @@ func TestRunsSuite(t *testing.T) { // dns.SetManifestPath("testdata/my-custom-solver"), // dns.SetBinariesPath("_test/kubebuilder/bin"), //) - + os.Setenv("TEST_ASSET_ETCD", "_test/kubebuilder/bin/etcd") + os.Setenv("TEST_ASSET_KUBE_APISERVER", "_test/kubebuilder/bin/kube-apiserver") + defer os.Unsetenv("TEST_ASSET_ETCD") + defer os.Unsetenv("TEST_ASSET_KUBE_APISERVER") solver := example.New("59351") fixture := dns.NewFixture(solver, dns.SetResolvedZone("example.com."), dns.SetManifestPath("testdata/my-custom-solver"), - dns.SetBinariesPath("_test/kubebuilder/bin"), dns.SetDNSServer("127.0.0.1:59351"), dns.SetUseAuthoritative(false), ) - fixture.RunConformance(t) + fixture.RunBasic(t) + fixture.RunExtended(t) } |
