Skip to content

Commit d7be79c

Browse files
committed
This commit should be squashed
Changing runc_jailer_tests to be ran with _Isolated Signed-off-by: xibz <[email protected]>
1 parent e91e154 commit d7be79c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

runtime/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ install: containerd-shim-aws-firecracker
3737
install -D -o root -g root -m755 -t $(INSTALLROOT)/bin containerd-shim-aws-firecracker
3838

3939
test:
40-
DISABLE_ROOT_TESTS=true go test ./... $(EXTRAGOARGS)
40+
go test ./... $(EXTRAGOARGS)
4141

4242
integ-test:
4343
mkdir -p $(CURDIR)/logs

runtime/runc_jailer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import (
2929
"github.com/firecracker-microvm/firecracker-containerd/internal"
3030
)
3131

32-
func TestBuildJailedRootHandler(t *testing.T) {
33-
internal.RequiresRoot(t)
32+
func TestBuildJailedRootHandler_Isolated(t *testing.T) {
33+
internal.RequiresIsolation(t)
3434
runcConfigPath = "./firecracker-runc-config.json.example"
3535
dir, err := ioutil.TempDir("./", "TestBuildJailedRootHandler")
3636
require.NoError(t, err, "failed to create temporary directory")

0 commit comments

Comments
 (0)