Skip to content

Commit 2359390

Browse files
committed
fix(tests,ps): Ensure session ID is greater than zero
1 parent cda1ef6 commit 2359390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ps/snapshotter_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ func TestFindQueryOS(t *testing.T) {
762762
assert.Equal(t, filepath.Join(os.Getenv("windir"), "notepad.exe"), proc.Cmdline)
763763
assert.True(t, len(proc.Envs) > 0)
764764
assert.Contains(t, proc.Cwd, "fibratus\\pkg\\ps")
765-
assert.Equal(t, uint32(1), proc.SessionID)
765+
assert.True(t, proc.SessionID > 0)
766766
assert.Equal(t, "HIGH", proc.TokenIntegrityLevel)
767767

768768
wts, err := sys.LookupActiveWTS()

0 commit comments

Comments
 (0)