Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
petersutter committed Jan 16, 2024
1 parent 0cd9fc5 commit acebd86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cmd/ssh/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit acebd86

Please sign in to comment.