test: Use X86 for testing and not ARM

This commit is contained in:
Jan Graefen 2023-05-07 15:30:28 +02:00
parent 274b8aadee
commit ddf38ad458

View file

@ -22,7 +22,7 @@ var _ = Describe("For servers", Ordered, Label("servers"), func() {
serverType, _, err := testClient.ServerType.GetByName(ctx, "cx11") serverType, _, err := testClient.ServerType.GetByName(ctx, "cx11")
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
image, _, err := testClient.Image.GetByNameAndArchitecture(ctx, "ubuntu-22.04", hcloud.ArchitectureARM) image, _, err := testClient.Image.GetByNameAndArchitecture(ctx, "ubuntu-22.04", hcloud.ArchitectureX86)
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
sshKey, _, err := testClient.SSHKey.Create(ctx, hcloud.SSHKeyCreateOpts{ sshKey, _, err := testClient.SSHKey.Create(ctx, hcloud.SSHKeyCreateOpts{