Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
Signed-off-by: Zhonghu Xu <[email protected]>
  • Loading branch information
hzxuzhonghu committed Sep 30, 2024
1 parent 32853ff commit d8cd4b0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/bpf/bpf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ func TestRestart(t *testing.T) {
})
}

func bpfConfig() options.BpfConfig {
return options.BpfConfig{
Mode: "workload",
BpfFsPath: "/sys/fs/bpf",
Cgroup2Path: "/mnt/kmesh_cgroup2",
}
}

func setDir(t *testing.T) options.BpfConfig {
if err := os.MkdirAll("/mnt/kmesh_cgroup2", 0755); err != nil {
t.Fatalf("Failed to create dir /mnt/kmesh_cgroup2: %v", err)
Expand Down

0 comments on commit d8cd4b0

Please sign in to comment.