Skip to content

Commit f35acd2

Browse files
committed
remove one test
1 parent ce19c52 commit f35acd2

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

tests/e2e/smoke_test.go

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -768,47 +768,7 @@ var _ = Describe("Operator smoke test", func() {
768768
ExecuteSimpleTableE2ETestWithSDK(databaseSample.Name, testobjects.YdbNamespace, databasePath)
769769
})
770770

771-
It("Check init job has additional volumes", func() {
772-
By("create storage tls secret...")
773-
storageCert := testobjects.StorageCertificate()
774-
Expect(k8sClient.Create(ctx, storageCert)).Should(Succeed())
775-
776-
By("create storage...")
777-
storage := testobjects.DefaultStorage(filepath.Join("..", "data", "storage-mirror-3-dc-config.yaml"))
778-
779-
secretName := testobjects.StorageCertificateSecretName
780-
secretPath := fmt.Sprintf("%s/%s", v1alpha1.AdditionalSecretsDir, secretName)
781-
782-
storage.Spec.Secrets = []*corev1.LocalObjectReference{
783-
{
784-
Name: secretName,
785-
},
786-
}
787-
788-
storage.Spec.InitContainers = []corev1.Container{
789-
{
790-
Name: "init-container",
791-
Image: storage.Spec.Image.Name,
792-
Command: []string{"bash", "-xc"},
793-
Args: []string{fmt.Sprintf("ls -la %s", secretPath)},
794-
VolumeMounts: []corev1.VolumeMount{
795-
{
796-
Name: secretName,
797-
MountPath: secretPath,
798-
ReadOnly: true,
799-
},
800-
},
801-
},
802-
}
803-
804-
Expect(k8sClient.Create(ctx, storage)).Should(Succeed())
805-
defer DeleteStorageSafely(ctx, k8sClient, storage)
806-
807-
By("waiting until Storage is ready ...")
808-
WaitUntilStorageReady(ctx, k8sClient, storage.Name, testobjects.YdbNamespace)
809-
})
810-
811-
It("Check init job has additional volumes with GRPCS enabled", func() {
771+
It("Check init job with additional volumes and GRPCS enabled", func() {
812772
By("create storage tls secret...")
813773
storageCert := testobjects.StorageCertificate()
814774
Expect(k8sClient.Create(ctx, storageCert)).Should(Succeed())

0 commit comments

Comments
 (0)