From 997423ee5ae9c5e0403c69492bac3adf88f76cc8 Mon Sep 17 00:00:00 2001 From: Sourav Sohan Sahu Date: Tue, 26 Mar 2024 06:14:39 +0000 Subject: [PATCH] removing invalid ignition data --- provider/server/machine_create_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/provider/server/machine_create_test.go b/provider/server/machine_create_test.go index 491ee439..1d1c0443 100644 --- a/provider/server/machine_create_test.go +++ b/provider/server/machine_create_test.go @@ -197,7 +197,6 @@ var _ = Describe("CreateMachine", Ordered, func() { )) }) - ignitionData := []byte("urjhikmnbdjfkknhhdddeee") It("should create a machine with boot image and single empty disk", func(ctx SpecContext) { By("creating a machine with boot image and single empty disk") createResp, err := machineClient.CreateMachine(ctx, &iri.CreateMachineRequest{ @@ -207,8 +206,7 @@ var _ = Describe("CreateMachine", Ordered, func() { Image: &iri.ImageSpec{ Image: squashfsOSImage, }, - Class: machineClassx3xlarge, - IgnitionData: ignitionData, + Class: machineClassx3xlarge, Volumes: []*iri.Volume{ { Name: "disk-1", @@ -246,7 +244,7 @@ var _ = Describe("CreateMachine", Ordered, func() { HaveField("Machine.Metadata.Id", Not(BeEmpty())), HaveField("Machine.Spec.Image.Image", Equal(squashfsOSImage)), HaveField("Machine.Spec.Class", machineClassx3xlarge), - HaveField("Machine.Spec.IgnitionData", Equal(ignitionData)), + HaveField("Machine.Spec.IgnitionData", BeNil()), HaveField("Machine.Spec.Volumes", ContainElement(&iri.Volume{ Name: "disk-1", Device: "oda",