예제 #1
0
        public async void Dispose()
        {
            STEP("Cleaning up");
            await tkc.DeleteNamespaceIfExists();

            this.tkc             = null;
            this.azureDiskClient = null;
        }
예제 #2
0
        public BasicTest()
        {
            this.logger = loggerFactory.CreateLogger <BasicTest>();
            var testNamespace = "e2e-tests-csi-disk" + Guid.NewGuid().ToString();

            this.tkc             = new TestKubernetesClient(testNamespace, loggerFactory.CreateLogger <TestKubernetesClient>());
            this.azureDiskClient = new TestAzureDisk(loggerFactory.CreateLogger <TestAzureDisk>());
        }