Skip to content

Commit

Permalink
chore: add test for gvisor extension with platform kvm
Browse files Browse the repository at this point in the history
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 <git@frezbo.dev>
  • Loading branch information
frezbo committed Jul 25, 2024
1 parent fd01571 commit 117628a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions internal/integration/api/extensions_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 117628a

Please sign in to comment.