Skip to content

Commit 0d7ff3b

Browse files
committed
chore: update test
1 parent 6b48e1b commit 0d7ff3b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

internal/datasource/host/info_test.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -433,19 +433,18 @@ func TestInfo_ContainerInfo(t *testing.T) {
433433
require.NoError(t, err)
434434

435435
releaseInfo := &v1.ReleaseInfo{
436-
Codename: "focal",
436+
Codename: "jammy",
437437
Id: "ubuntu",
438438
Name: "Ubuntu",
439-
VersionId: "20.04",
440-
Version: "20.04.5 LTS (Focal Fossa)",
439+
VersionId: "22.04",
440+
Version: "22.04.5 LTS (Jammy Jellyfish)",
441441
}
442442

443443
tests := []struct {
444-
name string
445-
mountInfo string
446-
expectContainerID string
447-
expectHostname string
448-
expectedOSReleaseInfo string
444+
name string
445+
mountInfo string
446+
expectContainerID string
447+
expectHostname string
449448
}{
450449
{
451450
name: "unknown cgroups format",

0 commit comments

Comments
 (0)