update version and fix

Signed-off-by: Roi Teveth <roytev@gmail.com>
This commit is contained in:
roytev
2022-02-08 10:08:15 +02:00
parent 9440683e53
commit e4ab1da942
6 changed files with 652 additions and 488 deletions

View File

@@ -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)
}