From 117628aa60c16e5b7a4102b71965cb0e77f95279 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Thu, 25 Jul 2024 19:08:56 +0530 Subject: [PATCH] chore: add test for gvisor extension with platform kvm Add test for Gvisor extensions when kvm platform is used. The test is marked as skipped until pod termination issue is resolved. Signed-off-by: Noel Georgi --- internal/integration/api/extensions_qemu.go | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/internal/integration/api/extensions_qemu.go b/internal/integration/api/extensions_qemu.go index acb3145989..224aeff267 100644 --- a/internal/integration/api/extensions_qemu.go +++ b/internal/integration/api/extensions_qemu.go @@ -362,10 +362,18 @@ func (suite *ExtensionsSuiteQEMU) TestExtensionsHelloWorldService() { } // TestExtensionsGvisor verifies gvisor runtime class is working. -// TODO: frezbo: re-enable once https://github.com/siderolabs/extensions/issues/417 is addressed. -// func (suite *ExtensionsSuiteQEMU) TestExtensionsGvisor() { -// suite.testRuntimeClass("gvisor", "runsc") -// } +func (suite *ExtensionsSuiteQEMU) TestExtensionsGvisor() { + suite.T().Skip("skipping until https://github.com/siderolabs/extensions/issues/417 is addressed.") + + suite.testRuntimeClass("gvisor", "runsc") +} + +// TestExtensionsGvisorKVM verifies gvisor runtime class with kvm platform is working. +func (suite *ExtensionsSuiteQEMU) TestExtensionsGvisorKVM() { + suite.T().Skip("skipping until https://github.com/siderolabs/extensions/issues/417 is addressed.") + + suite.testRuntimeClass("gvisor-kvm", "runsc-kvm") +} // TestExtensionsKataContainers verifies gvisor runtime class is working. func (suite *ExtensionsSuiteQEMU) TestExtensionsKataContainers() {