Skip to content

Commit ac3aaa8

Browse files
committed
test(toposerver): update integration expectations for metrics port
- Add the etcd metrics container port to the expected StatefulSet specs in TopoServer reconciliation tests so they match the readiness changes. Signed-off-by: Veronica Lopez <gveronicalg@gmail.com>
1 parent 293a15b commit ac3aaa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/resource-handler/controller/toposerver/integration_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ func TestTopoServerReconciliation(t *testing.T) {
108108
Ports: []corev1.ContainerPort{
109109
tcpPort(t, "client", 2379),
110110
tcpPort(t, "peer", 2380),
111+
tcpPort(t, "metrics", 2381),
111112
},
112113
Env: []corev1.EnvVar{
113114
{
@@ -286,6 +287,7 @@ func TestTopoServerReconciliation(t *testing.T) {
286287
Ports: []corev1.ContainerPort{
287288
tcpPort(t, "client", 2379),
288289
tcpPort(t, "peer", 2380),
290+
tcpPort(t, "metrics", 2381),
289291
},
290292
Env: []corev1.EnvVar{
291293
{

0 commit comments

Comments
 (0)