From acebd86499027f83831c595dfd90f54e63ecfcfc Mon Sep 17 00:00:00 2001 From: Peter Sutter Date: Tue, 16 Jan 2024 16:38:33 +0100 Subject: [PATCH] add test --- pkg/cmd/ssh/ssh_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/cmd/ssh/ssh_test.go b/pkg/cmd/ssh/ssh_test.go index df9a92f1..df0c3492 100644 --- a/pkg/cmd/ssh/ssh_test.go +++ b/pkg/cmd/ssh/ssh_test.go @@ -659,6 +659,10 @@ var _ = Describe("SSH Command", func() { Expect(info.Bastion.SSHPrivateKeyFile).To(Equal(options.SSHPrivateKeyFile)) Expect(info.Bastion.SSHPublicKeyFile).To(Equal(options.SSHPublicKeyFile)) Expect(info.Nodes).To(ConsistOf([]ssh.Node{ + { + Name: pendingMachine.Labels[machinev1alpha1.NodeLabelKey], + Status: "Unknown", + }, { Name: testNode.Name, Status: "Not Ready",