Skip to content

Commit

Permalink
Fix Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rithick-ctds committed Nov 11, 2024
1 parent 46d5380 commit 464b1e6
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void test() throws Exception {
final DiffCollectorOutputWriter diff = generate(client, tmpDir);
final File outputDir = new File(tmpDir.toFile(), CONTEXT);
assertValue(outputDir);
assertDiff(diff, 156);
assertDiff(diff, 155);
}

@Test
Expand Down Expand Up @@ -91,7 +91,7 @@ public void testNoBastion() throws Exception {
final DiffCollectorOutputWriter diff = generate(client, tmpDir);
final File outputDir = new File(tmpDir.toFile(), CONTEXT);
final PulsarCluster pulsar = getPulsarClusterFromOutputdir(outputDir);
assertDiff(diff, 149);
assertDiff(diff, 148);
Assert.assertEquals(pulsar.getSpec().getBastion().getReplicas(), 0);
}

Expand Down Expand Up @@ -202,6 +202,7 @@ private void assertValue(File tmpDir) {
component: zookeeper
heritage: Helm
release: pulsar-cluster
skipVolumeClaimLabels: true
podLabels:
app: pulsar
cluster: pulsar-cluster
Expand Down Expand Up @@ -284,6 +285,7 @@ private void assertValue(File tmpDir) {
component: bookkeeper
heritage: Helm
release: pulsar-cluster
skipVolumeClaimLabels: true
podLabels:
app: pulsar
cluster: pulsar-cluster
Expand Down Expand Up @@ -892,7 +894,6 @@ private void assertValue(File tmpDir) {
PULSAR_EXTRA_OPTS: -Dpulsar.log.root.level=info
PULSAR_LOG_LEVEL: info
PULSAR_LOG_ROOT_LEVEL: info
ensemblePlacementPolicy: ""
zkServers: pulsar-cluster-zookeeper-ca:2181
replicas: 1
annotations: {}
Expand Down Expand Up @@ -1013,6 +1014,7 @@ private void assertValue(File tmpDir) {
component: function
heritage: Helm
release: pulsar-cluster
skipVolumeClaimLabels: true
podLabels:
app: pulsar
cluster: pulsar-cluster
Expand Down

0 comments on commit 464b1e6

Please sign in to comment.