From aaba8998bb7185ae23cb7f2f7055593c70100073 Mon Sep 17 00:00:00 2001 From: Theo Barber-Bany Date: Thu, 7 Nov 2024 22:33:16 +0000 Subject: [PATCH] WIP --- .../machinesetsync/machineset_sync_controller_test.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkg/controllers/machinesetsync/machineset_sync_controller_test.go b/pkg/controllers/machinesetsync/machineset_sync_controller_test.go index 3ecdad632..a5ee5bfac 100644 --- a/pkg/controllers/machinesetsync/machineset_sync_controller_test.go +++ b/pkg/controllers/machinesetsync/machineset_sync_controller_test.go @@ -431,8 +431,15 @@ var _ = Describe("With a running MachineSetSync controller", func() { ) }) - // Do we have another case here where we consistently want to not see a MAPI MachineSet created? - // Not sure if this is overkill + // I can't work out a nice way to write this as I'm tired :) + + // It("should not create a MAPI MachineSet", func() { + // Consistently(k.ObjectList(&machinev1beta1.MachineSetList{}), timeout).ShouldNot( + // ContainElement(WithTransform( + // func(ms machinev1beta1.MachineSet) string { + // return ms.GetName() + // }, Equal(capiMachineSet.GetName())))) + // }) })