Skip to content

Commit 4a94850

Browse files
author
Daniel Vaseekaran
committed
Re-Add KafkaCluster_SSL Tests
1 parent c13ddf0 commit 4a94850

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/e2e-test.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
uses: actions/setup-go@v4
1919
with:
2020
go-version: 1.21
21-
22-
- name: Setup tmate session
23-
uses: mxschmitt/action-tmate@v3
24-
with:
25-
detached: true
21+
22+
# Enable Tmate Session if you'd like to Debut the E2E Kind Cluster
23+
# - name: Setup tmate session
24+
# uses: mxschmitt/action-tmate@v3
25+
# with:
26+
# detached: true
2627

2728
- name: Checkout code
2829
uses: actions/checkout@v4

tests/e2e/koperator_suite_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ var _ = When("Testing e2e test altogether", Ordered, func() {
6161
testInstallKafkaCluster("../../config/samples/simplekafkacluster.yaml")
6262
testProduceConsumeInternal()
6363
testUninstallKafkaCluster()
64-
// testInstallKafkaCluster("../../config/samples/simplekafkacluster_ssl.yaml")
65-
// testProduceConsumeInternalSSL(defaultTLSSecretName)
66-
// testUninstallKafkaCluster()
64+
testInstallKafkaCluster("../../config/samples/simplekafkacluster_ssl.yaml")
65+
testProduceConsumeInternalSSL(defaultTLSSecretName)
66+
testUninstallKafkaCluster()
6767
testUninstallZookeeperCluster()
6868
testUninstall()
6969
snapshotClusterAndCompare(snapshottedInfo)

tests/e2e/test_snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func snapshotClusterAndCompare(snapshottedInitialInfo *clusterSnapshot) bool {
144144
// Only doing this here because other assertions typically don't run against objects with this many elements.
145145
initialMaxLength := format.MaxLength
146146
defer func() { format.MaxLength = initialMaxLength }()
147-
format.MaxLength = 90000
147+
format.MaxLength = 9000
148148

149149
Expect(snapshottedCurrentInfo.ResourcesAsComparisonType()).To(ConsistOf(snapshottedInitialInfo.ResourcesAsComparisonType()))
150150
})

0 commit comments

Comments
 (0)